comparison src/http/modules/ngx_http_status_handler.c @ 416:b9bd635011de

nginx-0.0.10-2004-09-06-22:45:00 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 06 Sep 2004 18:45:00 +0000
parents 3c56e834be46
children da8c5707af39
comparison
equal deleted inserted replaced
415:3c56e834be46 416:b9bd635011de
68 68
69 if (rc != NGX_OK && rc != NGX_AGAIN) { 69 if (rc != NGX_OK && rc != NGX_AGAIN) {
70 return rc; 70 return rc;
71 } 71 }
72 72
73 if (!(r->headers_out.content_type = ngx_push_list(&r->headers_out.headers))) 73 r->headers_out.content_type = ngx_list_push(&r->headers_out.headers);
74 { 74 if (r->headers_out.content_type == NULL) {
75 return NGX_HTTP_INTERNAL_SERVER_ERROR; 75 return NGX_HTTP_INTERNAL_SERVER_ERROR;
76 } 76 }
77 77
78 r->headers_out.content_type->key.len = 0; 78 r->headers_out.content_type->key.len = 0;
79 r->headers_out.content_type->key.data = NULL; 79 r->headers_out.content_type->key.data = NULL;