Mercurial > hg > nginx
comparison src/http/modules/ngx_http_stub_status_module.c @ 1374:aabbf66b61ea
omit unnecessary conditions
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 07 Aug 2007 10:56:09 +0000 |
parents | cc114c85be0f |
children | 022ec9420f80 |
comparison
equal
deleted
inserted
replaced
1373:fdea12ffb24a | 1374:aabbf66b61ea |
---|---|
69 return NGX_HTTP_NOT_ALLOWED; | 69 return NGX_HTTP_NOT_ALLOWED; |
70 } | 70 } |
71 | 71 |
72 rc = ngx_http_discard_request_body(r); | 72 rc = ngx_http_discard_request_body(r); |
73 | 73 |
74 if (rc != NGX_OK && rc != NGX_AGAIN) { | 74 if (rc != NGX_OK) { |
75 return rc; | 75 return rc; |
76 } | 76 } |
77 | 77 |
78 r->headers_out.content_type.len = sizeof("text/plain") - 1; | 78 r->headers_out.content_type.len = sizeof("text/plain") - 1; |
79 r->headers_out.content_type.data = (u_char *) "text/plain"; | 79 r->headers_out.content_type.data = (u_char *) "text/plain"; |