From f7ef9bb938ae9f227bc329cc46291461f7f9ba0a Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Tue, 21 Jun 2016 16:30:16 -0700 Subject: Fix scp_init() invocation, it takes no arguments --- sesman/tools/sesadmin.c | 2 +- sesman/tools/sestest.c | 2 +- 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) -- cgit v1.2.1