irungentoo/ProjectTox-Core — pull request #588 by FullName (2013-09-18 14:37:35+00:00)
Title: Allow loginit() to be delayed, store loglog() data in intermediate buffer...

... and flush it out when loginit() is called

util.c:
- handle loglog() before loginit() by storing the lines into an expanding buffer
- when loginit() is called, (try to) write out and then (always) kill the buffer

network.c:
- push loginit() to the point where we know the actually used port