From 34ea8770d0cc71754114c3c3fbad93767ff128eb Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Thu, 15 Oct 2015 11:57:54 +0200 Subject: [PATCH] client: add debug message for recv() error --- client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client.c b/client.c index 8dba0c6..cd0977c 100644 --- a/client.c +++ b/client.c @@ -1366,6 +1366,7 @@ submit_request(CMD_Request *request, CMD_Reply *reply) if (recv_status < 0) { /* If we get connrefused here, it suggests the sendto is going to a dead port */ + DEBUG_LOG(LOGF_Client, "Could not receive : %s", strerror(errno)); n_attempts++; if (n_attempts > max_retries) {