1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 08:58:28 +02:00

Revert "suggest parentheses around ‘&&’ within ‘||’"

This reverts commit 4f2c0e0451.
This commit is contained in:
Xinchen Hui
2015-08-11 22:14:37 +08:00
parent b997130a34
commit ec1e8929c4
+1 -1
View File
@@ -326,7 +326,7 @@ static int php_sockop_set_option(php_stream *stream, int option, int value, void
ret = recv(sock->socket, &buf, sizeof(buf), MSG_PEEK);
err = php_socket_errno();
if (0 == ret || /* the counterpart did properly shutdown*/
(0 > ret && err != EWOULDBLOCK && err != EAGAIN)) { /* there was an unrecoverable error */
0 > ret && err != EWOULDBLOCK && err != EAGAIN) { /* there was an unrecoverable error */
alive = 0;
}
}