diff options
author | jsorg71 <jsorg71> | 2008-12-26 02:20:03 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2008-12-26 02:20:03 +0000 |
commit | 23fe2e2259d1348110b0ba20af13ac523c3ab849 (patch) | |
tree | 506e3e553aad02d6ddd1b3bc9abed285939122b9 /sesman/scp.c | |
parent | 12b2ea66fc67b7980267e915b553f3250041c09a (diff) | |
download | xrdp-proprietary-23fe2e2259d1348110b0ba20af13ac523c3ab849.tar.gz xrdp-proprietary-23fe2e2259d1348110b0ba20af13ac523c3ab849.zip |
added g_ to globals, added SIGINT, SIGKILL to shutdown signals, other minor changes
Diffstat (limited to 'sesman/scp.c')
-rw-r--r-- | sesman/scp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sesman/scp.c b/sesman/scp.c index 6a920720..d26b254b 100644 --- a/sesman/scp.c +++ b/sesman/scp.c @@ -30,7 +30,7 @@ #include "sesman.h" -extern int thread_sck; +extern int g_thread_sck; /* in thread.c */ extern struct config_sesman g_cfg; /******************************************************************************/ @@ -42,10 +42,10 @@ scp_process_start(void* sck) /* making a local copy of the socket (it's on the stack) */ /* probably this is just paranoia */ - scon.in_sck = thread_sck; + scon.in_sck = g_thread_sck; LOG_DBG(&(g_cfg.log), "started scp thread on socket %d", scon.in_sck); - /* unlocking thread_sck */ + /* unlocking g_thread_sck */ lock_socket_release(); make_stream(scon.in_s); |