:: Re: [DNG] Debugging netman auto-con…
Forside
Slet denne besked
Besvar denne besked
Skribent: Rainer Weikusat
Dato:  
Til: tilt!
CC: dng
Emne: Re: [DNG] Debugging netman auto-connect.
"tilt!" <tilt@???> 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.