From: Miroslav Lichvar Date: Thu, 15 Oct 2015 09:57:54 +0000 (+0200) Subject: client: add debug message for recv() error X-Git-Tag: 2.2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34ea8770d0cc71754114c3c3fbad93767ff128eb;p=thirdparty%2Fchrony.git client: add debug message for recv() error --- diff --git a/client.c b/client.c index 8dba0c6a..cd0977c7 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) {