:: Re: [DNG] Pointer error in the back…
Inizio della pagina
Delete this message
Reply to this message
Autore: KatolaZ
Data:  
To: aitor_czr
CC: dng
Oggetto: Re: [DNG] Pointer error in the backend of Netman
On Thu, Dec 10, 2015 at 11:05:01AM +0100, aitor_czr wrote:
> Hi again,
>
> ... "active_wifis" and "&active_wifis" are the same ...
>
> So, forget the comment.



Sorry for the silly, uninformed, and preposterous comment, which you
would probably be better off ignoring altogether, but I can't see any
reasonable way in which a C variable and its address might be "the
same", especially when used as the first argument of a realloc (unless
the value of that variable is a pointer to its own address, which is
something so deep to defy my limited understanding)...

HND

KatolaZ

--
[ Enzo Nicosia aka KatolaZ --- GLUG Catania -- Freaknet Medialab ]
[ me [at] katolaz.homeunix.net -- http://katolaz.homeunix.net -- ]
[ GNU/Linux User:#325780/ICQ UIN: #258332181/GPG key ID 0B5F062F ]
[ Fingerprint: 8E59 D6AA 445E FDB4 A153 3D5A 5F20 B3AE 0B5F 062F ]