comparison src/http/modules/ngx_http_memcached_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 a83aa8c53552
comparison
equal deleted inserted replaced
1373:fdea12ffb24a 1374:aabbf66b61ea
167 return NGX_HTTP_NOT_ALLOWED; 167 return NGX_HTTP_NOT_ALLOWED;
168 } 168 }
169 169
170 rc = ngx_http_discard_request_body(r); 170 rc = ngx_http_discard_request_body(r);
171 171
172 if (rc != NGX_OK && rc != NGX_AGAIN) { 172 if (rc != NGX_OK) {
173 return rc; 173 return rc;
174 } 174 }
175 175
176 if (ngx_http_set_content_type(r) != NGX_OK) { 176 if (ngx_http_set_content_type(r) != NGX_OK) {
177 return NGX_HTTP_INTERNAL_SERVER_ERROR; 177 return NGX_HTTP_INTERNAL_SERVER_ERROR;