Fixed wrong sprintf specifier used (%s instead of %d) #4650

My bad, I was being carless in 4aa57cfbdb
This commit is contained in:
Nick Bolton 2015-05-26 12:18:39 +01:00
parent 4aa57cfbdb
commit e96cead732
1 changed files with 3 additions and 3 deletions

View File

@ -405,13 +405,13 @@ SecureSocket::checkResult(int status, int& retry)
retry += 1; retry += 1;
// If there are a lot of retrys, it's worth warning about // If there are a lot of retrys, it's worth warning about
if ( retry % 5 == 0 ) { 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) ) { 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 { 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; break;