Kismet Wireless

Kismet Forums

 

Posted by:pedrogfrancisco
Subject:netxml times != nettxt times
Date:19:33:09 09/09/2010

> A more interesting thing is that the start and end are the same in netxml.
>
> It looks like ctime() isn't safe for using twice in the same function, it must have a static buffer somewhere that it uses.
>
> Try the SVN.

It works!

Thank you! I've spent ~4 hours yesterday plus another ~4h today and couldn't find out what the problem was...

Thanks for the fix!

EDIT: apparently there is `ctime_r()' for thread-safe/multiple calls usage.


Reply to this message