diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-09-07 11:26:40 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-09-07 11:26:40 +0000 |
| commit | 80d70e434dd091ee0eae8455b577cc98c3b5dc1f (patch) | |
| tree | 1963ea061bafb52a37e78860c07fe969722993ff /src/core/ngx_buf.h | |
| parent | caf21c99d8cf5af400eae41fcefdd96a41cd9b96 (diff) | |
| download | nginx-80d70e434dd091ee0eae8455b577cc98c3b5dc1f.tar.gz nginx-80d70e434dd091ee0eae8455b577cc98c3b5dc1f.tar.bz2 | |
merge r3037:
the flags should be bit-wide only
Diffstat (limited to 'src/core/ngx_buf.h')
| -rw-r--r-- | src/core/ngx_buf.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/ngx_buf.h b/src/core/ngx_buf.h index 8649bdb9e..56e03992d 100644 --- a/src/core/ngx_buf.h +++ b/src/core/ngx_buf.h @@ -75,13 +75,13 @@ typedef struct { ngx_chain_t *free; ngx_chain_t *busy; - unsigned sendfile; - unsigned directio; + unsigned sendfile:1; + unsigned directio:1; #if (NGX_HAVE_ALIGNED_DIRECTIO) - unsigned unaligned; + unsigned unaligned:1; #endif - unsigned need_in_memory; - unsigned need_in_temp; + unsigned need_in_memory:1; + unsigned need_in_temp:1; ngx_pool_t *pool; ngx_int_t allocated; |
