diff options
-rw-r--r-- | opentracker.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/opentracker.c b/opentracker.c index 2020b43..ae0de82 100644 --- a/opentracker.c +++ b/opentracker.c | |||
@@ -489,6 +489,10 @@ void handle_write( int64 clientsocket ) { | |||
489 | if( !h ) return; | 489 | if( !h ) return; |
490 | if( iob_send( clientsocket, &h->batch ) <= 0 ) { | 490 | if( iob_send( clientsocket, &h->batch ) <= 0 ) { |
491 | iob_reset( &h->batch ); | 491 | iob_reset( &h->batch ); |
492 | #ifdef _DEBUG_FDS | ||
493 | if( !fd_debug_space[clientsocket] ) fprintf( stderr, "close on non-open fd\n" ); | ||
494 | fd_debug_space[clientsocket] = 0; | ||
495 | #endif | ||
492 | io_close( clientsocket ); | 496 | io_close( clientsocket ); |
493 | free( h ); | 497 | free( h ); |
494 | } | 498 | } |