]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix eCAP issues after rev.14093
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 29 May 2015 10:16:18 +0000 (03:16 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 29 May 2015 10:16:18 +0000 (03:16 -0700)
src/adaptation/ecap/XactionRep.cc

index f0d465cd8642b155c1d44d6921036cac39b1c1ce..5cb0f2f10ff5c40bef41924fcdac340d6f4f2f86 100644 (file)
@@ -699,7 +699,7 @@ Adaptation::Ecap::XactionRep::status() const
     buf.append(" [", 2);
 
     if (makingVb)
-        buf.Printf("M%d", static_cast<int>(makingVb));
+        buf.appendf("M%d", static_cast<int>(makingVb));
 
     const BodyPipePointer &vp = theVirginRep.raw().body_pipe;
     if (!vp)
@@ -712,7 +712,7 @@ Adaptation::Ecap::XactionRep::status() const
     if (vbProductionFinished)
         buf.append(".", 1);
 
-    buf.Printf(" A%d", static_cast<int>(proxyingAb));
+    buf.appendf(" A%d", static_cast<int>(proxyingAb));
 
     if (proxyingAb == opOn) {
         MessageRep *rep = dynamic_cast<MessageRep*>(theAnswerRep.get());
@@ -726,7 +726,7 @@ Adaptation::Ecap::XactionRep::status() const
             buf.append(" A?", 3);
     }
 
-    buf.Printf(" %s%u]", id.Prefix, id.value);
+    buf.appendf(" %s%u]", id.Prefix, id.value);
 
     buf.terminate();