Commit 51b9ed7a authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Make the new FlexeLint 8.00w happy again.

It's a fine point of C-linguistics, but I have to admit that in
certain universes it would have a point.  Not this one though.




git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1883 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 20636fed
......@@ -105,6 +105,12 @@ struct http_hdr {
char *e;
};
enum httpwhence {
HTTP_Rx,
HTTP_Tx,
HTTP_Obj
};
struct http {
unsigned magic;
#define HTTP_MAGIC 0x6428b5c9
......@@ -114,11 +120,7 @@ struct http {
char *pl_s, *pl_e; /* Pipelined bytes */
unsigned char conds; /* If-* headers present */
enum httpwhence {
HTTP_Rx,
HTTP_Tx,
HTTP_Obj
} logtag;
enum httpwhence logtag;
struct http_hdr hd[HTTP_HDR_MAX];
unsigned char hdf[HTTP_HDR_MAX];
......
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