Hi Edward,

I will try it later, thanks :)

  Aitor.

On 12/06/2015 01:10 PM, Edward Bartolo wrote:
Hi Aitor,

I edited the code as follows:

                if (z == 1)
                        active_wifi_list = calloc(10, sizeof(void*));
                else if (z % 20 == 0)
                        active_wifi_list = realloc(active_wifis, ((z/2) + 
10)*sizeof(void*));

Please, if you can run the code and reply back whether it worked. My
neighbourhood has less than 10 active wifi repeaters.

Edward

_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to