Browse Source

Remove interrupted retry in connector

master
Con Kolivas 11 years ago
parent
commit
63ccad9105
  1. 2
      src/connector.c

2
src/connector.c

@ -449,8 +449,6 @@ static int connector_loop(proc_instance_t *pi, conn_instance_t *ci)
retry: retry:
sockd = accept(us->sockd, NULL, NULL); sockd = accept(us->sockd, NULL, NULL);
if (sockd < 0) { if (sockd < 0) {
if (interrupted())
goto retry;
LOGERR("Failed to accept on connector socket, retrying in 5s"); LOGERR("Failed to accept on connector socket, retrying in 5s");
ret = 1; ret = 1;
goto out; goto out;

Loading…
Cancel
Save