"tilt!" <[email protected]> writes: > On 09/11/2015 10:35 AM, Edward Bartolo wrote: >> Hi all, >> >> Since yesterday I have been trying to understand why "char** >> essid_list" is working inside getInstalledEssidList(&count, >> essid_list) but failing as soon as I try to access essid_list[0] >> outside the function. >> >> Both the source and the gdb text output are attached. >> >> Any helpful pointers are appreciated. > > Having dynamically growing (and shrinking) lists in C is > always a problem. That's why the problem has been solved > many times. :-) > > For example, the singly-linked list, GSList, from the GLIB > library is pretty popular and could save you some time.
JFTR: That part of the code is works. _______________________________________________ Dng mailing list [email protected] https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
