From 6411f1567f64248b0d145493c2e61004d2822623 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sat, 26 May 2018 00:28:10 +0200 Subject: Remove debug code for self pipes --- opentracker.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/opentracker.c b/opentracker.c index 09010c7..aed8374 100644 --- a/opentracker.c +++ b/opentracker.c @@ -270,10 +270,9 @@ static void * server_mainloop( void * args ) { handle_accept( sock ); else if( (intptr_t)cookie == FLAG_UDP ) 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 ); - fprintf(stderr, "pipe\n"); - } else + else handle_read( sock, &ws ); } -- cgit v1.2.3