summaryrefslogtreecommitdiffstats
path: root/sesman
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-08-31 11:15:24 -0700
committerPavel Roskin <plroskin@gmail.com>2016-09-08 20:26:19 -0700
commit945833a94fb242630681db1bcbe9a503abad63c8 (patch)
tree08893e9e0acb2fc9e93ad2b000fd32917abdb7ec /sesman
parentf7c27f05cfbe26357bbb943916b9a160faa5f529 (diff)
downloadxrdp-proprietary-945833a94fb242630681db1bcbe9a503abad63c8.tar.gz
xrdp-proprietary-945833a94fb242630681db1bcbe9a503abad63c8.zip
Don't close socket in scp_process_start(), the caller closes it
Diffstat (limited to 'sesman')
-rw-r--r--sesman/scp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sesman/scp.c b/sesman/scp.c
index fdb81a04..6d7ea203 100644
--- a/sesman/scp.c
+++ b/sesman/scp.c
@@ -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;