|
|
@ -220,9 +220,7 @@ retry: |
|
|
|
|
|
|
|
|
|
|
|
sockd = accept(us->sockd, NULL, NULL); |
|
|
|
sockd = accept(us->sockd, NULL, NULL); |
|
|
|
if (sockd < 0) { |
|
|
|
if (sockd < 0) { |
|
|
|
if (interrupted()) |
|
|
|
LOGEMERG("Failed to accept on generator socket"); |
|
|
|
goto retry; |
|
|
|
|
|
|
|
LOGERR("Failed to accept on generator socket"); |
|
|
|
|
|
|
|
ret = 1; |
|
|
|
ret = 1; |
|
|
|
goto out; |
|
|
|
goto out; |
|
|
|
} |
|
|
|
} |
|
|
@ -1227,9 +1225,7 @@ reconnect: |
|
|
|
retry: |
|
|
|
retry: |
|
|
|
sockd = accept(us->sockd, NULL, NULL); |
|
|
|
sockd = accept(us->sockd, NULL, NULL); |
|
|
|
if (sockd < 0) { |
|
|
|
if (sockd < 0) { |
|
|
|
if (interrupted()) |
|
|
|
LOGEMERG("Failed to accept on proxy socket"); |
|
|
|
goto retry; |
|
|
|
|
|
|
|
LOGERR("Failed to accept on proxy socket"); |
|
|
|
|
|
|
|
ret = 1; |
|
|
|
ret = 1; |
|
|
|
goto out; |
|
|
|
goto out; |
|
|
|
} |
|
|
|
} |
|
|
|