This commit is contained in:
Alexander Vdolainen 2015-07-23 16:11:32 +03:00
parent 62287773c9
commit c4d53c6f22

View File

@ -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);