|
|
|
@ -182,7 +182,6 @@ int main(int argc, char **argv)
|
|
|
|
|
// memset(&sigpipe, 0, sizeof(struct sigaction));
|
|
|
|
|
// sigpipe.sa_handler = sigpipe_handler;
|
|
|
|
|
// sigaction(SIGPIPE, &sigpipe, NULL);
|
|
|
|
|
|
|
|
|
|
char *rootca = NULL, *cert = NULL;
|
|
|
|
|
conn_sys_t *ssys = connections_create();
|
|
|
|
|
int port = DEFAULT_PORT;
|
|
|
|
@ -216,6 +215,7 @@ int main(int argc, char **argv)
|
|
|
|
|
return EINVAL;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
sntllv2_init();
|
|
|
|
|
/* all is fine let's init connection subsystem */
|
|
|
|
|
if(!ssys) {
|
|
|
|
|
fprintf(stderr, "Subsystem init failed: %d\n", opt);
|
|
|
|
|