]> git.kaiwu.me - nginx.git/commitdiff
r1465 merge:
authorIgor Sysoev <igor@sysoev.ru>
Sun, 23 Sep 2007 19:18:22 +0000 (19:18 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Sun, 23 Sep 2007 19:18:22 +0000 (19:18 +0000)
style fix

src/http/ngx_http_request.c

index 9ec0cf7b97b55eb850bae3a1ccec1bb4d8380194..e75d9ff5c21d46413abf16d3c5ba8af9db19457f 100644 (file)
@@ -1295,7 +1295,7 @@ ngx_http_process_request_header(ngx_http_request_t *r)
         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);