summaryrefslogtreecommitdiffstats
path: root/sesman/tools/sesrun.c
diff options
context:
space:
mode:
Diffstat (limited to 'sesman/tools/sesrun.c')
-rw-r--r--sesman/tools/sesrun.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sesman/tools/sesrun.c b/sesman/tools/sesrun.c
index a9181583..d671f125 100644
--- a/sesman/tools/sesrun.c
+++ b/sesman/tools/sesrun.c
@@ -27,8 +27,6 @@
#include "sesman.h"
#include "tcp.h"
-int g_sck;
-int g_pid;
struct config_sesman g_cfg; /* config.h */
/******************************************************************************/
@@ -56,8 +54,6 @@ main(int argc, char **argv)
return 1;
}
- g_pid = g_getpid();
-
if (argc == 1)
{
g_printf("xrdp session starter v0.1\n");
@@ -115,7 +111,7 @@ main(int argc, char **argv)
{
in_uint16_be(in_s, data);
in_uint16_be(in_s, display);
- g_printf("ok %d display %d\n", data, display);
+ g_printf("ok %d display %d\n", (int)data, display);
}
}
}