Merge remote-tracking branch 'origin/pr/46'
This commit is contained in:
commit
5a5c52d7a9
2
net_io.c
2
net_io.c
|
@ -88,7 +88,7 @@ void modesInitNet(void) {
|
|||
int s = anetTcpServer(Modes.aneterr, services[j].port, NULL);
|
||||
if (s == -1) {
|
||||
fprintf(stderr, "Error opening the listening port %d (%s): %s\n",
|
||||
services[j].port, services[j].descr, strerror(errno));
|
||||
services[j].port, services[j].descr, Modes.aneterr);
|
||||
exit(1);
|
||||
}
|
||||
anetNonBlock(Modes.aneterr, s);
|
||||
|
|
Loading…
Reference in a new issue