diff src/http/ngx_http_request.c @ 1524:81fa2dadc124 stable-0.5

r1465 merge: style fix
author Igor Sysoev <igor@sysoev.ru>
date Sun, 23 Sep 2007 19:18:22 +0000
parents 8f988b68097d
children 85e12fc61211
line wrap: on
line diff
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -1295,7 +1295,7 @@ ngx_http_process_request_header(ngx_http
         return NGX_ERROR;
     }
 
-    if (r->method & (NGX_HTTP_TRACE)) {
+    if (r->method & NGX_HTTP_TRACE) {
         ngx_log_error(NGX_LOG_INFO, r->connection->log, 0,
                       "client sent TRACE method");
         ngx_http_finalize_request(r, NGX_HTTP_NOT_ALLOWED);