/*
- * $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
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;