Fix scp_init() invocation, it takes no arguments
This commit is contained in:
parent
6f5feb61e0
commit
f7ef9bb938
@ -124,7 +124,7 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
scp_init(&logging);
|
scp_init();
|
||||||
|
|
||||||
sock = g_tcp_socket();
|
sock = g_tcp_socket();
|
||||||
if (sock < 0)
|
if (sock < 0)
|
||||||
|
@ -48,7 +48,7 @@ int main(int argc, char **argv)
|
|||||||
log.program_name = g_strdup("sestest");
|
log.program_name = g_strdup("sestest");
|
||||||
log.log_file = g_strdup("sestest.log");
|
log.log_file = g_strdup("sestest.log");
|
||||||
log_start_from_param(&log);
|
log_start_from_param(&log);
|
||||||
scp_init(&log);
|
scp_init();
|
||||||
|
|
||||||
sock = g_tcp_socket();
|
sock = g_tcp_socket();
|
||||||
if (sock < 0)
|
if (sock < 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user