From 10beb36b1cd1479d14b245a922e1ab49d9a8b1f9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 18 Feb 2006 22:27:01 +0000 Subject: =?UTF-8?q?Ulf=20H=E4rnhammar=20fixed=20a=20format=20string=20(pri?= =?UTF-8?q?ntf=20style)=20problem=20in=20the=20Negotiate=20code.=20It=20sh?= =?UTF-8?q?ould=20however=20not=20be=20the=20cause=20of=20any=20troubles.?= =?UTF-8?q?=20He=20also=20fixed=20a=20few=20similar=20problems=20in=20the?= =?UTF-8?q?=20HTTP=20test=20server=20code.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/server/sws.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/server/sws.c b/tests/server/sws.c index b1904b4d3..4b6735cce 100644 --- a/tests/server/sws.c +++ b/tests/server/sws.c @@ -219,7 +219,7 @@ int ProcessRequest(struct httprequest *req) else sprintf(logbuf, "Got a *HUGE* request HTTP/%d.%d", prot_major, prot_minor); - logmsg(logbuf); + logmsg("%s", logbuf); if(!strncmp("/verifiedserver", ptr, 15)) { logmsg("Are-we-friendly question received"); @@ -251,7 +251,7 @@ int ProcessRequest(struct httprequest *req) sprintf(logbuf, "Requested test number %ld part %ld", req->testno, req->partno); - logmsg(logbuf); + logmsg("%s", logbuf); filename = test2file(req->testno); @@ -294,7 +294,7 @@ int ProcessRequest(struct httprequest *req) doc, &prot_major, &prot_minor) == 3) { sprintf(logbuf, "Receiced a CONNECT %s HTTP/%d.%d request", doc, prot_major, prot_minor); - logmsg(logbuf); + logmsg("%s", logbuf); if(prot_major*10+prot_minor == 10) req->open = FALSE; /* HTTP 1.0 closes connection by default */ -- cgit v1.2.3