undo last change, it did not work well

dynamic-accesslists
erdgeist 13 years ago
parent 8bf40b6717
commit ae413a675b

@ -266,7 +266,7 @@ static void * server_mainloop( void * args ) {
if( (intptr_t)cookie == FLAG_TCP ) if( (intptr_t)cookie == FLAG_TCP )
handle_accept( sock ); handle_accept( sock );
else if( (intptr_t)cookie == FLAG_UDP ) else if( (intptr_t)cookie == FLAG_UDP )
while( handle_udp6( sock, &ws ) ); handle_udp6( sock, &ws );
else if( (intptr_t)cookie == FLAG_SELFPIPE ) else if( (intptr_t)cookie == FLAG_SELFPIPE )
io_tryread( sock, ws.inbuf, G_INBUF_SIZE ); io_tryread( sock, ws.inbuf, G_INBUF_SIZE );
else else

Loading…
Cancel
Save