summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
authorerdgeist <>2012-03-31 20:01:05 +0000
committererdgeist <>2012-03-31 20:01:05 +0000
commit1af67bab1d0286ecb777529d2b0f8bf9dc98a8b2 (patch)
tree16f9db7f8e18359ba136935e8d81662f309bb9c8 /opentracker.c
parent1968f47d7429afbbf1b84795c8d0284c93aa5061 (diff)
Try to act upon all udp packets at once
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c
index 0c535ec..52078b5 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -266,7 +266,7 @@ static void * server_mainloop( void * args ) {
266 if( (intptr_t)cookie == FLAG_TCP ) 266 if( (intptr_t)cookie == FLAG_TCP )
267 handle_accept( sock ); 267 handle_accept( sock );
268 else if( (intptr_t)cookie == FLAG_UDP ) 268 else if( (intptr_t)cookie == FLAG_UDP )
269 handle_udp6( sock, &ws ); 269 while( handle_udp6( sock, &ws ) ) {};
270 else if( (intptr_t)cookie == FLAG_SELFPIPE ) 270 else if( (intptr_t)cookie == FLAG_SELFPIPE )
271 io_tryread( sock, ws.inbuf, G_INBUF_SIZE ); 271 io_tryread( sock, ws.inbuf, G_INBUF_SIZE );
272 else 272 else