]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Update libsquidssl.la MemBuf use
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 27 Apr 2015 11:16:32 +0000 (04:16 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 27 Apr 2015 11:16:32 +0000 (04:16 -0700)
src/ssl/PeerConnector.cc

index 9ea15253560f09a85ce097d1145b1239aa7dfcc4..0f066eaa5263bbd000a10a1a7a53fe0683c72f56 100644 (file)
@@ -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();