summaryrefslogtreecommitdiffstats
path: root/sesman/sesman.c
diff options
context:
space:
mode:
authorilsimo <ilsimo>2007-05-06 21:02:25 +0000
committerilsimo <ilsimo>2007-05-06 21:02:25 +0000
commitf22b5b42a74314af8c4232c86ccce968c6a37ce5 (patch)
tree83da9d21acb9b9c8bb04414228a85153ec972259 /sesman/sesman.c
parentd0e066ee8b0d428f6876bc32a97ce1e70420a65e (diff)
downloadxrdp-proprietary-f22b5b42a74314af8c4232c86ccce968c6a37ce5.tar.gz
xrdp-proprietary-f22b5b42a74314af8c4232c86ccce968c6a37ce5.zip
making libscp a real library
some fixes in configuration options
Diffstat (limited to 'sesman/sesman.c')
-rw-r--r--sesman/sesman.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sesman/sesman.c b/sesman/sesman.c
index b760a727..e3d7565e 100644
--- a/sesman/sesman.c
+++ b/sesman/sesman.c
@@ -50,7 +50,7 @@ sesman_main_loop(void)
log_message(LOG_LEVEL_INFO, "listening...");
g_sck = g_tcp_socket();
g_tcp_set_non_blocking(g_sck);
- error = tcp_bind(g_sck, g_cfg.listen_address, g_cfg.listen_port);
+ error = scp_tcp_bind(g_sck, g_cfg.listen_address, g_cfg.listen_port);
if (error == 0)
{
error = g_tcp_listen(g_sck);
@@ -213,6 +213,9 @@ main(int argc, char** argv)
g_exit(1);
}
+ /* libscp initialization */
+ scp_init();
+
if (daemon)
{
/* start of daemonizing code */