diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2018-05-26 00:28:10 +0200 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2018-05-26 00:28:10 +0200 |
commit | 6411f1567f64248b0d145493c2e61004d2822623 (patch) | |
tree | 6e7d54814bbb4b788ab696ac45b1a7439a33d3ac /opentracker.c | |
parent | d6d4fb0668638ed1a2fc4cdff7940fcc3bd7c21d (diff) |
Remove debug code for self pipes
Diffstat (limited to 'opentracker.c')
-rw-r--r-- | opentracker.c | 5 |
1 files 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 ) { | |||
270 | handle_accept( sock ); | 270 | handle_accept( sock ); |
271 | else if( (intptr_t)cookie == FLAG_UDP ) | 271 | else if( (intptr_t)cookie == FLAG_UDP ) |
272 | handle_udp6( sock, &ws ); | 272 | handle_udp6( sock, &ws ); |
273 | else if( (intptr_t)cookie == FLAG_SELFPIPE ) { | 273 | else if( (intptr_t)cookie == FLAG_SELFPIPE ) |
274 | io_tryread( sock, ws.inbuf, G_INBUF_SIZE ); | 274 | io_tryread( sock, ws.inbuf, G_INBUF_SIZE ); |
275 | fprintf(stderr, "pipe\n"); | 275 | else |
276 | } else | ||
277 | handle_read( sock, &ws ); | 276 | handle_read( sock, &ws ); |
278 | } | 277 | } |
279 | 278 | ||