1
0
mirror of git://erdgeist.org/opentracker synced 2025-01-13 16:30:06 +00:00

FD-debug also in new iob_send path

This commit is contained in:
erdgeist 2007-01-20 14:11:53 +00:00
parent 5f7c044b54
commit e161ef790a

View File

@ -489,6 +489,10 @@ void handle_write( int64 clientsocket ) {
if( !h ) return; if( !h ) return;
if( iob_send( clientsocket, &h->batch ) <= 0 ) { if( iob_send( clientsocket, &h->batch ) <= 0 ) {
iob_reset( &h->batch ); iob_reset( &h->batch );
#ifdef _DEBUG_FDS
if( !fd_debug_space[clientsocket] ) fprintf( stderr, "close on non-open fd\n" );
fd_debug_space[clientsocket] = 0;
#endif
io_close( clientsocket ); io_close( clientsocket );
free( h ); free( h );
} }