diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-10-22 07:05:29 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-10-22 07:05:29 +0000 |
commit | 5bf3d25d69ecdbccaa98beeb089a7a6850529b89 (patch) | |
tree | 1bc211941faf078f87f79bea1f2703e3190483fa /src/core/ngx_hunk.c | |
parent | 419f9aceb4d994c2f7f51400f59fb2da0ed666d4 (diff) | |
download | nginx-5bf3d25d69ecdbccaa98beeb089a7a6850529b89.tar.gz nginx-5bf3d25d69ecdbccaa98beeb089a7a6850529b89.zip |
nginx-0.0.1-2003-10-22-11:05:29 import
Diffstat (limited to 'src/core/ngx_hunk.c')
-rw-r--r-- | src/core/ngx_hunk.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/ngx_hunk.c b/src/core/ngx_hunk.c index 6bed8c566..cd218307d 100644 --- a/src/core/ngx_hunk.c +++ b/src/core/ngx_hunk.c @@ -125,7 +125,7 @@ int ngx_chain_add_copy(ngx_pool_t *pool, ngx_chain_t **ch, ngx_chain_t *in) void ngx_chain_update_chains(ngx_chain_t **free, ngx_chain_t **busy, - ngx_chain_t **out) + ngx_chain_t **out, ngx_hunk_tag_t tag) { ngx_chain_t *te; @@ -154,9 +154,7 @@ void ngx_chain_update_chains(ngx_chain_t **free, ngx_chain_t **busy, } #endif - /* TODO: change to hunk->tag */ - - if (!((*busy)->hunk->type & NGX_HUNK_TEMP)) { + if ((*busy)->hunk->tag != tag) { *busy = (*busy)->next; continue; } |