From e96cead73267d0d5c17e52920f5ce121e51db4b6 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Tue, 26 May 2015 12:18:39 +0100 Subject: [PATCH] Fixed wrong sprintf specifier used (%s instead of %d) #4650 My bad, I was being carless in 4aa57cfbdb47c2aa812755c8454e52ddadf2b069 --- src/lib/plugin/ns/SecureSocket.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/plugin/ns/SecureSocket.cpp b/src/lib/plugin/ns/SecureSocket.cpp index 367ef067..66c8a42f 100644 --- a/src/lib/plugin/ns/SecureSocket.cpp +++ b/src/lib/plugin/ns/SecureSocket.cpp @@ -405,13 +405,13 @@ SecureSocket::checkResult(int status, int& retry) retry += 1; // If there are a lot of retrys, it's worth warning about if ( retry % 5 == 0 ) { - LOG((CLOG_DEBUG "ssl retry occurred, error=%s, attempt=%d", errorCode, retry)); + LOG((CLOG_DEBUG "ssl retry occurred, error=%d, attempt=%d", errorCode, retry)); } else if ( retry == (maxRetry() / 2) ) { - LOG((CLOG_WARN "ssl retry occurred, error=%s, attempt=%d", errorCode, retry)); + LOG((CLOG_WARN "ssl retry occurred, error=%d, attempt=%d", errorCode, retry)); } else { - LOG((CLOG_DEBUG2 "ssl retry occurred, error=%s, attempt=%d", errorCode, retry)); + LOG((CLOG_DEBUG2 "ssl retry occurred, error=%d, attempt=%d", errorCode, retry)); } break;