Mercurial > hg > nginx
diff src/core/ngx_buf.h @ 3036:d2b183c39878
the flags should be bit-wide only
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 23 Aug 2009 12:58:41 +0000 |
parents | cc13ff6d5c07 |
children | 6060225e9261 |
line wrap: on
line diff
--- a/src/core/ngx_buf.h Fri Aug 21 09:06:35 2009 +0000 +++ b/src/core/ngx_buf.h Sun Aug 23 12:58:41 2009 +0000 @@ -75,13 +75,13 @@ 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;