From: Amos Jeffries Date: Fri, 28 Nov 2008 11:51:11 +0000 (+1300) Subject: Author: Christos Tsantilas X-Git-Tag: SQUID_3_2_0_1~1322 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c044f7a980558b4012aa77a31a6dbc34ad76735b;p=thirdparty%2Fsquid.git Author: Christos Tsantilas Bug 2527: ICAP compile error with g++ 4.3.2 --- diff --git a/src/ICAP/AsyncJob.cc b/src/ICAP/AsyncJob.cc index 158ddc3a50..a43614f7d2 100644 --- a/src/ICAP/AsyncJob.cc +++ b/src/ICAP/AsyncJob.cc @@ -155,7 +155,7 @@ const char *AsyncJob::status() const buf.append(" [", 2); if (stopReason != NULL) { buf.Printf("Stopped, reason:"); - buf.Printf(stopReason); + buf.Printf("%s",stopReason); } buf.Printf(" job%d]", id); buf.terminate();