From c9e7dd5780aacc08fc88d81564666dde211d63b8 Mon Sep 17 00:00:00 2001 From: ckolivas Date: Thu, 26 Jun 2014 15:31:15 +0300 Subject: [PATCH] We do not retry the accept call if it fails --- src/connector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connector.c b/src/connector.c index 78123f1c..78c5c4bf 100644 --- a/src/connector.c +++ b/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; }