summaryrefslogtreecommitdiffstats
path: root/sesman/libscp/libscp_connection.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_connection.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_connection.c')
-rw-r--r--sesman/libscp/libscp_connection.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sesman/libscp/libscp_connection.c b/sesman/libscp/libscp_connection.c
index 06010a5b..7f6569d1 100644
--- a/sesman/libscp/libscp_connection.c
+++ b/sesman/libscp/libscp_connection.c
@@ -27,6 +27,8 @@
#include "libscp_connection.h"
+extern struct log_config* s_log;
+
struct SCP_CONNECTION*
scp_connection_create(int sck)
{
@@ -36,6 +38,7 @@ scp_connection_create(int sck)
if (0 == conn)
{
+ log_message(s_log, LOG_LEVEL_WARNING, "[connection:%d] connection create: malloc error", __LINE__);
return 0;
}