]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[BUILD] proto_http did not build on gcc-2.95
authorWilly Tarreau <w@1wt.eu>
Tue, 24 Feb 2009 09:48:35 +0000 (10:48 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 24 Feb 2009 09:48:35 +0000 (10:48 +0100)
move the DPRINTF below the local variable declarations.

src/proto_http.c

index ecbc8872df84be533baefd9ce6993c926735be30..6fd84f421648a28fa8a32aaf88f70f7faf119ee1 100644 (file)
@@ -1565,16 +1565,6 @@ void http_msg_analyzer(struct buffer *buf, struct http_msg *msg, struct hdr_idx
  */
 int http_process_request(struct session *s, struct buffer *req)
 {
-
-       DPRINTF(stderr,"[%u] %s: session=%p b=%p, exp(r,w)=%u,%u bf=%08x bl=%d analysers=%02x\n",
-               now_ms, __FUNCTION__,
-               s,
-               req,
-               req->rex, req->wex,
-               req->flags,
-               req->l,
-               req->analysers);
-
        /*
         * We will parse the partial (or complete) lines.
         * We will check the request syntax, and also join multi-line
@@ -1596,6 +1586,15 @@ int http_process_request(struct session *s, struct buffer *req)
        struct http_msg *msg = &txn->req;
        struct proxy *cur_proxy;
 
+       DPRINTF(stderr,"[%u] %s: session=%p b=%p, exp(r,w)=%u,%u bf=%08x bl=%d analysers=%02x\n",
+               now_ms, __FUNCTION__,
+               s,
+               req,
+               req->rex, req->wex,
+               req->flags,
+               req->l,
+               req->analysers);
+
        if (likely(req->lr < req->r))
                http_msg_analyzer(req, msg, &txn->hdr_idx);