aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_hunk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_hunk.c')
-rw-r--r--src/core/ngx_hunk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_hunk.c b/src/core/ngx_hunk.c
index 3799cef78..de57a5d02 100644
--- a/src/core/ngx_hunk.c
+++ b/src/core/ngx_hunk.c
@@ -115,7 +115,7 @@ void ngx_chain_update_chains(ngx_chain_t **free, ngx_chain_t **busy,
*out = NULL;
while (*busy) {
- if (ngx_hunk_size((*busy)->hunk) > 0) {
+ if (ngx_hunk_size((*busy)->hunk) != 0) {
break;
}