From b252679b2525640c095a36bd0b946044b69cee0e Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sun, 1 Apr 2012 03:23:50 +0000 Subject: [PATCH] fix tiny issue --- opentracker.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opentracker.c b/opentracker.c index 5a9404a..7558ded 100644 --- a/opentracker.c +++ b/opentracker.c @@ -2,7 +2,7 @@ It is considered beerware. Prost. Skol. Cheers or whatever. Some of the stuff below is stolen from Fefes example libowfat httpd. - $Id: opentracker.c,v 1.234 2012/03/31 20:01:05 erdgeist Exp $ */ + $Id: opentracker.c,v 1.235 2012/04/01 03:23:50 erdgeist Exp $ */ /* System */ #include @@ -266,7 +266,7 @@ static void * server_mainloop( void * args ) { if( (intptr_t)cookie == FLAG_TCP ) handle_accept( sock ); else if( (intptr_t)cookie == FLAG_UDP ) - while( handle_udp6( sock, &ws ) ) {}; + while( handle_udp6( sock, &ws ) ); else if( (intptr_t)cookie == FLAG_SELFPIPE ) io_tryread( sock, ws.inbuf, G_INBUF_SIZE ); else @@ -644,4 +644,4 @@ int main( int argc, char **argv ) { return 0; } -const char *g_version_opentracker_c = "$Source: /home/cvsroot/opentracker/opentracker.c,v $: $Revision: 1.234 $\n"; +const char *g_version_opentracker_c = "$Source: /home/cvsroot/opentracker/opentracker.c,v $: $Revision: 1.235 $\n";