Browse Source

We do not retry the accept call if it fails

master
ckolivas 11 years ago
parent
commit
c9e7dd5780
  1. 2
      src/connector.c

2
src/connector.c

@ -477,7 +477,7 @@ retry:
close(sockd);
sockd = accept(us->sockd, NULL, NULL);
if (sockd < 0) {
LOGERR("Failed to accept on connector socket, retrying in 5s");
LOGEMERG("Failed to accept on connector socket, exiting");
ret = 1;
goto out;
}

Loading…
Cancel
Save