summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-06-21 16:30:16 -0700
committerPavel Roskin <plroskin@gmail.com>2016-07-08 04:15:38 +0000
commitf7ef9bb938ae9f227bc329cc46291461f7f9ba0a (patch)
tree786192c42757d493dc4e452ba7ff4838496519e8
parent6f5feb61e0e0683249d2db64bb8c04583a968583 (diff)
downloadxrdp-proprietary-f7ef9bb938ae9f227bc329cc46291461f7f9ba0a.tar.gz
xrdp-proprietary-f7ef9bb938ae9f227bc329cc46291461f7f9ba0a.zip
Fix scp_init() invocation, it takes no arguments
-rw-r--r--sesman/tools/sesadmin.c2
-rw-r--r--sesman/tools/sestest.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sesman/tools/sesadmin.c b/sesman/tools/sesadmin.c
index 3415b75b..3ee230a5 100644
--- a/sesman/tools/sesadmin.c
+++ b/sesman/tools/sesadmin.c
@@ -124,7 +124,7 @@ int main(int argc, char **argv)
}
}
- scp_init(&logging);
+ scp_init();
sock = g_tcp_socket();
if (sock < 0)
diff --git a/sesman/tools/sestest.c b/sesman/tools/sestest.c
index e1c09cf2..0653355c 100644
--- a/sesman/tools/sestest.c
+++ b/sesman/tools/sestest.c
@@ -48,7 +48,7 @@ int main(int argc, char **argv)
log.program_name = g_strdup("sestest");
log.log_file = g_strdup("sestest.log");
log_start_from_param(&log);
- scp_init(&log);
+ scp_init();
sock = g_tcp_socket();
if (sock < 0)