Switch from sketchy dup() juggling to callbacks to retry outgoing connection.
This commit is contained in:
@@ -114,7 +114,7 @@ int main(int argc, char *argv[]) {
|
||||
stats_init();
|
||||
|
||||
if (!parse_opts(argc, argv)) {
|
||||
return EXIT_FAILURE;
|
||||
peer_shutdown();
|
||||
}
|
||||
|
||||
assert(!close(1));
|
||||
|
||||
Reference in New Issue
Block a user