Commit d647764b authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Eliminate a single-use macro

parent a9d35b47
......@@ -935,9 +935,6 @@ void WSL_Flush(struct vsl_log *, int overflow);
#define WSP(sess, tag, ...) \
WSL((sess)->wrk->vsl, tag, (sess)->vsl_id, __VA_ARGS__)
#define WSPR(sess, tag, txt) \
WSLR((sess)->wrk->vsl, tag, (sess)->vsl_id, txt)
#define INCOMPL() do { \
VSL(SLT_Debug, 0, "INCOMPLETE AT: %s(%d)", __func__, __LINE__); \
fprintf(stderr, \
......
......@@ -677,7 +677,7 @@ http_DissectRequest(const struct sess *sp)
retval = http_splitline(hp, htc,
HTTP_HDR_REQ, HTTP_HDR_URL, HTTP_HDR_PROTO);
if (retval != 0) {
WSPR(sp, SLT_HttpGarbage, htc->rxbuf);
WSLR(sp->req->vsl, SLT_HttpGarbage, -1, htc->rxbuf);
return (retval);
}
http_ProtoVer(hp);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment