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: svn+ssh://projects.linpro.no/svn/varnish/trunk@1883
d4fa192b-c00b-0410-8231-
f00ffab90ce4
char *e;
};
+enum httpwhence {
+ HTTP_Rx,
+ HTTP_Tx,
+ HTTP_Obj
+};
+
struct http {
unsigned magic;
#define HTTP_MAGIC 0x6428b5c9
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];