1
0
mirror of https://github.com/php/php-src.git synced 2026-04-18 21:41:22 +02:00

Fixed bug #73854 (Always true condition in php_openssl_sockop_io)

This commit is contained in:
Xinchen Hui
2017-01-09 16:30:00 +08:00
parent 8dd523a216
commit f7cb79431f

View File

@@ -1951,7 +1951,7 @@ static size_t php_openssl_sockop_io(int read, php_stream *stream, char *buf, siz
}
/* never use a timeout with non-blocking sockets */
if (began_blocked && &sslsock->s.timeout) {
if (began_blocked) {
timeout = &sslsock->s.timeout;
}