aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_buf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_buf.h')
-rw-r--r--src/core/ngx_buf.h2
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): \