From 2edb2a074d2ab0bf2388b466a65ee22c33c7ac05 Mon Sep 17 00:00:00 2001 From: ckolivas Date: Thu, 26 Jun 2014 09:51:52 +0300 Subject: [PATCH] Don't check for EINTR in generator as well --- src/generator.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/generator.c b/src/generator.c index e6853ae0..20a6cab1 100644 --- a/src/generator.c +++ b/src/generator.c @@ -220,9 +220,7 @@ retry: sockd = accept(us->sockd, NULL, NULL); if (sockd < 0) { - if (interrupted()) - goto retry; - LOGERR("Failed to accept on generator socket"); + LOGEMERG("Failed to accept on generator socket"); ret = 1; goto out; } @@ -1227,9 +1225,7 @@ reconnect: retry: sockd = accept(us->sockd, NULL, NULL); if (sockd < 0) { - if (interrupted()) - goto retry; - LOGERR("Failed to accept on proxy socket"); + LOGEMERG("Failed to accept on proxy socket"); ret = 1; goto out; }