mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix expression warnings and break warnings
Close GH-5675.
This commit is contained in:
parent
1d8233877c
commit
7d6a0ba808
27 changed files with 60 additions and 60 deletions
|
@ -1833,7 +1833,7 @@ static int php_cli_server_client_read_request(php_cli_server_client *client, cha
|
|||
nbytes_consumed = php_http_parser_execute(&client->parser, &settings, buf, nbytes_read);
|
||||
if (nbytes_consumed != (size_t)nbytes_read) {
|
||||
if (php_cli_server_log_level >= PHP_CLI_SERVER_LOG_ERROR) {
|
||||
if (buf[0] & 0x80 /* SSLv2 */ || buf[0] == 0x16 /* SSLv3/TLSv1 */) {
|
||||
if ((buf[0] & 0x80) /* SSLv2 */ || buf[0] == 0x16 /* SSLv3/TLSv1 */) {
|
||||
*errstr = estrdup("Unsupported SSL request");
|
||||
} else {
|
||||
*errstr = estrdup("Malformed HTTP request");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue