:: Re: [DNG] Debugging netman auto-con…
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Rainer Weikusat
日付:  
To: tilt!
CC: dng
題目: 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.