From: wessels <> Date: Sat, 9 Dec 2000 12:29:55 +0000 (+0000) Subject: leftover bug from http version changes X-Git-Tag: SQUID_3_0_PRE1~1732 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7af0a8e6a202f2f4987fa30fe8716262e23241b1;p=thirdparty%2Fsquid.git leftover bug from http version changes --- diff --git a/src/htcp.cc b/src/htcp.cc index 043f9386b9..ae0e018a93 100644 --- a/src/htcp.cc +++ b/src/htcp.cc @@ -1,6 +1,6 @@ /* - * $Id: htcp.cc,v 1.32 2000/11/01 04:50:25 wessels Exp $ + * $Id: htcp.cc,v 1.33 2000/12/09 05:29:55 wessels Exp $ * * DEBUG: section 31 Hypertext Caching Protocol * AUTHOR: Duane Wesssels @@ -886,7 +886,8 @@ htcpQuery(StoreEntry * e, request_t * req, peer * p) MemBuf mb; http_state_flags flags; memset(&flags, '\0', sizeof(flags)); - snprintf(vbuf, sizeof(vbuf), "%3.1f", req->http_ver); + snprintf(vbuf, sizeof(vbuf), "%d/%d", + req->http_ver.major, req->http_ver.minor); stuff.op = HTCP_TST; stuff.rr = RR_REQUEST; stuff.f1 = 1;