summaryrefslogtreecommitdiffstats
path: root/sesman/libscp/libscp_tcp.c
diff options
context:
space:
mode:
authorilsimo <ilsimo>2008-07-30 10:58:30 +0000
committerilsimo <ilsimo>2008-07-30 10:58:30 +0000
commitd14b076a700e1ad87048549945f0f1e658db6cd5 (patch)
treecba23a5e8d2175796912e738164c26da4ce345b6 /sesman/libscp/libscp_tcp.c
parenta8a2f0a0b0749fa0d7376d2322b05f3984356e29 (diff)
downloadxrdp-proprietary-d14b076a700e1ad87048549945f0f1e658db6cd5.tar.gz
xrdp-proprietary-d14b076a700e1ad87048549945f0f1e658db6cd5.zip
still more work on logging
libscp makefile fix
Diffstat (limited to 'sesman/libscp/libscp_tcp.c')
-rw-r--r--sesman/libscp/libscp_tcp.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sesman/libscp/libscp_tcp.c b/sesman/libscp/libscp_tcp.c
index 37aa7eac..0181f50c 100644
--- a/sesman/libscp/libscp_tcp.c
+++ b/sesman/libscp/libscp_tcp.c
@@ -33,13 +33,16 @@
#include <stdlib.h>
#include <string.h>
+extern struct log_config* s_log;
+
/*****************************************************************************/
int DEFAULT_CC
scp_tcp_force_recv(int sck, char* data, int len)
{
int rcvd;
int block;
-
+
+ LOG_DBG(s_log, "scp_tcp_force_recv()");
block = scp_lock_fork_critical_section_start();
while (len > 0)
@@ -80,7 +83,8 @@ scp_tcp_force_send(int sck, char* data, int len)
{
int sent;
int block;
-
+
+ LOG_DBG(s_log, "scp_tcp_force_send()");
block = scp_lock_fork_critical_section_start();
while (len > 0)