Don't close socket in scp_process_start(), the caller closes it

This commit is contained in:
Pavel Roskin 2016-08-31 11:15:24 -07:00
parent f7c27f05cf
commit 945833a94f

View File

@ -91,7 +91,6 @@ scp_process_start(void *sck)
log_message(LOG_LEVEL_ALWAYS, "unknown return from scp_vXs_accept()");
}
g_tcp_close(scon.in_sck);
free_stream(scon.in_s);
free_stream(scon.out_s);
return 0;