diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-06-09 11:45:27 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-06-09 11:45:27 +0400 |
commit | ebfd6c8ada7859a3c66af8885fd418d923a42662 (patch) | |
tree | 947f3e94b9f385804bc424ced174bc517cdb5135 /src/core/ngx_buf.h | |
parent | 3eb1995529f847b64523852e7dfb120071071c24 (diff) |
nginx-0.0.3-2004-06-09-11:45:27 import
Diffstat (limited to 'src/core/ngx_buf.h')
-rw-r--r-- | src/core/ngx_buf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_buf.h b/src/core/ngx_buf.h index eb75c3bea..bfae4ac80 100644 --- a/src/core/ngx_buf.h +++ b/src/core/ngx_buf.h @@ -136,7 +136,7 @@ typedef struct { #define ngx_buf_in_memory(b) (b->temporary || b->memory || b->mmap) #define ngx_buf_in_memory_only(b) (ngx_buf_in_memory(b) && !b->in_file) #define ngx_buf_special(b) \ - ((b->flush || b->last) && !ngx_buf_in_memory(b) && !b->in_file) + ((b->flush || b->last_buf) && !ngx_buf_in_memory(b) && !b->in_file) #define ngx_buf_size(b) \ (ngx_buf_in_memory(b) ? (size_t) (b->last - b->pos): \ |