From: Amos Jeffries Date: Mon, 27 Apr 2015 11:16:32 +0000 (-0700) Subject: Update libsquidssl.la MemBuf use X-Git-Tag: merge-candidate-3-v1~101^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07e6d76ea0db1d2376afa03d7c487aacf08a4354;p=thirdparty%2Fsquid.git Update libsquidssl.la MemBuf use --- diff --git a/src/ssl/PeerConnector.cc b/src/ssl/PeerConnector.cc index 9ea1525356..0f066eaa52 100644 --- a/src/ssl/PeerConnector.cc +++ b/src/ssl/PeerConnector.cc @@ -734,12 +734,12 @@ Ssl::PeerConnector::status() const // id and stop reason reporting duplication. buf.append(" [", 2); if (stopReason != NULL) { - buf.Printf("Stopped, reason:"); - buf.Printf("%s",stopReason); + buf.append("Stopped, reason:", 16); + buf.appendf("%s",stopReason); } if (serverConn != NULL) - buf.Printf(" FD %d", serverConn->fd); - buf.Printf(" %s%u]", id.Prefix, id.value); + buf.appendf(" FD %d", serverConn->fd); + buf.appendf(" %s%u]", id.Prefix, id.value); buf.terminate(); return buf.content();