comparison src/http/modules/ngx_http_chunked_filter.c @ 103:6dfda4cf5200

nginx-0.0.1-2003-06-11-19:28:34 import
author Igor Sysoev <igor@sysoev.ru>
date Wed, 11 Jun 2003 15:28:34 +0000
parents a059e1aa65d4
children 152567c11325
comparison
equal deleted inserted replaced
102:7e86d028d8f0 103:6dfda4cf5200
83 83
84 ce = ce->next; 84 ce = ce->next;
85 } 85 }
86 86
87 ngx_test_null(chunk, ngx_palloc(r->pool, 11), NGX_ERROR); 87 ngx_test_null(chunk, ngx_palloc(r->pool, 11), NGX_ERROR);
88 len = ngx_snprintf(chunk, 11, "%x" CRLF, size); 88 len = ngx_snprintf(chunk, 11, SIZEX_FMT CRLF, size);
89 89
90 ngx_test_null(h, ngx_calloc_hunk(r->pool), NGX_ERROR); 90 ngx_test_null(h, ngx_calloc_hunk(r->pool), NGX_ERROR);
91 h->type = NGX_HUNK_IN_MEMORY|NGX_HUNK_TEMP; 91 h->type = NGX_HUNK_IN_MEMORY|NGX_HUNK_TEMP;
92 h->pos = chunk; 92 h->pos = chunk;
93 h->last = chunk + len; 93 h->last = chunk + len;