Mercurial > hg > nginx
comparison src/http/modules/ngx_http_chunked_filter.c @ 195:8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 25 Nov 2003 20:44:56 +0000 |
parents | 4db54fdbcbe7 |
children | 87e73f067470 |
comparison
equal
deleted
inserted
replaced
194:2357fa41738a | 195:8dee38ea9117 |
---|---|
85 | 85 |
86 cl = cl->next; | 86 cl = cl->next; |
87 } | 87 } |
88 | 88 |
89 ngx_test_null(chunk, ngx_palloc(r->pool, 11), NGX_ERROR); | 89 ngx_test_null(chunk, ngx_palloc(r->pool, 11), NGX_ERROR); |
90 len = ngx_snprintf(chunk, 11, SIZEX_FMT CRLF, size); | 90 len = ngx_snprintf(chunk, 11, SIZE_T_X_FMT CRLF, size); |
91 | 91 |
92 ngx_test_null(h, ngx_calloc_hunk(r->pool), NGX_ERROR); | 92 ngx_test_null(h, ngx_calloc_hunk(r->pool), NGX_ERROR); |
93 h->type = NGX_HUNK_IN_MEMORY|NGX_HUNK_TEMP; | 93 h->type = NGX_HUNK_IN_MEMORY|NGX_HUNK_TEMP; |
94 h->pos = chunk; | 94 h->pos = chunk; |
95 h->last = chunk + len; | 95 h->last = chunk + len; |