comparison src/http/modules/ngx_http_memcached_module.c @ 1370:cc114c85be0f

rename ngx_http_discard_body() to ngx_http_discard_request_body()
author Igor Sysoev <igor@sysoev.ru>
date Mon, 06 Aug 2007 15:37:22 +0000
parents 07ebeeb55700
children aabbf66b61ea
comparison
equal deleted inserted replaced
1369:6254b90eea4b 1370:cc114c85be0f
165 165
166 if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD))) { 166 if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD))) {
167 return NGX_HTTP_NOT_ALLOWED; 167 return NGX_HTTP_NOT_ALLOWED;
168 } 168 }
169 169
170 rc = ngx_http_discard_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 && rc != NGX_AGAIN) {
173 return rc; 173 return rc;
174 } 174 }
175 175