diff options
Diffstat (limited to 'opentracker.c')
-rw-r--r-- | opentracker.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c index df6f0c3..3adcfd0 100644 --- a/opentracker.c +++ b/opentracker.c | |||
@@ -298,10 +298,11 @@ int main( int argc, char **argv ) { | |||
298 | signal( SIGINT, signal_handler ); | 298 | signal( SIGINT, signal_handler ); |
299 | signal( SIGALRM, signal_handler ); | 299 | signal( SIGALRM, signal_handler ); |
300 | 300 | ||
301 | g_now = time( NULL ); | ||
302 | |||
301 | if( trackerlogic_init( serverdir ) == -1 ) | 303 | if( trackerlogic_init( serverdir ) == -1 ) |
302 | panic( "Logic not started" ); | 304 | panic( "Logic not started" ); |
303 | 305 | ||
304 | g_now = time( NULL ); | ||
305 | alarm(5); | 306 | alarm(5); |
306 | 307 | ||
307 | server_mainloop( ); | 308 | server_mainloop( ); |