summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--opentracker.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/opentracker.c b/opentracker.c
index b7e5876..ccb9603 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -742,7 +742,6 @@ static void handle_accept( const int64 serversocket ) {
742 tai_unix( &(t.sec), (g_now + OT_CLIENT_TIMEOUT) ); 742 tai_unix( &(t.sec), (g_now + OT_CLIENT_TIMEOUT) );
743 io_timeout( i, t ); 743 io_timeout( i, t );
744 744
745 handle_read( i );
746 } 745 }
747 746
748 if( errno == EAGAIN ) 747 if( errno == EAGAIN )
@@ -895,9 +894,6 @@ static void ot_try_bind( char ip[4], uint16 port, int is_tcp ) {
895 if( !io_fd( s ) ) 894 if( !io_fd( s ) )
896 panic( "io_fd" ); 895 panic( "io_fd" );
897 896
898 if( is_tcp )
899 socket_deferaccept( s, DATAIN );
900
901 io_setcookie( s, is_tcp ? FLAG_TCP : FLAG_UDP ); 897 io_setcookie( s, is_tcp ? FLAG_TCP : FLAG_UDP );
902 898
903 io_wantread( s ); 899 io_wantread( s );