Skip to content
Snippets Groups Projects
Commit 4cca3e80 authored by Lubos Slovak's avatar Lubos Slovak
Browse files

Minor fix in main().

parent 486df2ce
No related branches found
No related tags found
No related merge requests found
......@@ -13,5 +13,13 @@ int main( int argc, char **argv )
}
cute_server *server = cute_create();
return cute_start(server, argv[1]);
int res;
if ((res = cute_start(server, argv[1])) != 0) {
fprintf (stderr, "Problem starting the server, exiting..\n");
}
cute_destroy(&server);
return res;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment