diff options
author | twosee <twose@qq.com> | 2020-06-07 08:38:13 +0800 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-06-07 10:41:11 +0200 |
commit | 7d6a0ba8088c9abbb490013d0ea7099a86adefa9 (patch) | |
tree | 796d25925fc449eb1af92e44b0b666da4afaf093 /sapi/cli/php_http_parser.c | |
parent | 1d8233877c654fc1915080817a710ceb972682dd (diff) | |
download | php-git-7d6a0ba8088c9abbb490013d0ea7099a86adefa9.tar.gz |
Fix expression warnings and break warnings
Close GH-5675.
Diffstat (limited to 'sapi/cli/php_http_parser.c')
-rw-r--r-- | sapi/cli/php_http_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_http_parser.c b/sapi/cli/php_http_parser.c index 6d764b6c0d..bb1c4924a0 100644 --- a/sapi/cli/php_http_parser.c +++ b/sapi/cli/php_http_parser.c @@ -1315,7 +1315,7 @@ size_t php_http_parser_execute (php_http_parser *parser, nread = 0; - if (parser->flags & F_UPGRADE || parser->method == PHP_HTTP_CONNECT) { + if ((parser->flags & F_UPGRADE) || parser->method == PHP_HTTP_CONNECT) { parser->upgrade = 1; } |