aboutsummaryrefslogtreecommitdiffstats
path: root/dcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'dcc.c')
-rw-r--r--dcc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dcc.c b/dcc.c
index 794b3613..8fca9ac2 100644
--- a/dcc.c
+++ b/dcc.c
@@ -384,10 +384,11 @@ gboolean dccs_recv_proto( gpointer data, gint fd, b_input_condition cond )
if( df->watch_out )
b_event_remove( df->watch_out );
+ df->watch_in = 0;
+
if( df->proto_finished )
dcc_finish( ft );
- df->watch_in = 0;
return FALSE;
}