]> git.kaiwu.me - nginx.git/commitdiff
style fix
authorIgor Sysoev <igor@sysoev.ru>
Fri, 7 Sep 2007 09:29:08 +0000 (09:29 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Fri, 7 Sep 2007 09:29:08 +0000 (09:29 +0000)
src/http/ngx_http_request.c

index f3d8f48419cd487d31bc7051782e4801d68e4e5f..ea534912eaa247bcfb5870cc2cba67e82a4977a7 100644 (file)
@@ -1294,7 +1294,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);