Permalink
Browse files

Revert field sizes.

  • Loading branch information...
nicolasff committed Apr 9, 2011
1 parent ce72d45 commit 8c60c86ce8e2bf3630cb952a218fba24d27d74b0
Showing with 11 additions and 11 deletions.
  1. +4 −4 client.h
  2. +5 −5 cmd.h
  3. +2 −2 http.h
View
@@ -31,10 +31,10 @@ struct http_client {
last_cb_t last_cb;
/* various flags. */
- int keep_alive:1;
- int broken:1;
- int is_websocket:1;
- int http_version:1;
+ int keep_alive;
+ int broken;
+ int is_websocket;
+ int http_version;
/* HTTP data */
char *path;
View
10 cmd.h
@@ -30,13 +30,13 @@ struct cmd {
char *mime; /* forced output content-type */
char *if_none_match; /* used with ETags */
char *jsonp; /* jsonp wrapper */
- int keep_alive:1;
- int mime_free:1; /* need to free mime buffer */
+ int keep_alive;
+ int mime_free; /* need to free mime buffer */
/* various flags */
- int started_responding:1;
- int is_websocket:1;
- int http_version:1;
+ int started_responding;
+ int is_websocket;
+ int http_version;
};
struct subscription {
View
4 http.h
@@ -24,8 +24,8 @@ struct http_response {
const char *body;
size_t body_len;
- int chunked:1;
- int http_version:1;
+ int chunked;
+ int http_version;
};
/* HTTP response */

0 comments on commit 8c60c86

Please sign in to comment.