summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
authorerdgeist <>2007-01-20 14:11:53 +0000
committererdgeist <>2007-01-20 14:11:53 +0000
commite161ef790a9b96ac27be6078259b4ad47f240f51 (patch)
tree8e4dbd46464fb5e4d7cbd1b10a5a6d1f3a23bbde /opentracker.c
parent5f7c044b54d7711dd898fce9c959b27b35898437 (diff)
FD-debug also in new iob_send path
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c4
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 }