Skip to content

Commit 697809d

Browse files
committed
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0: Fixed bug #73854 (Always true condition in php_openssl_sockop_io)
2 parents bf6eb65 + f7cb794 commit 697809d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/openssl/xp_ssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1921,7 +1921,7 @@ static size_t php_openssl_sockop_io(int read, php_stream *stream, char *buf, siz
19211921
}
19221922

19231923
/* never use a timeout with non-blocking sockets */
1924-
if (began_blocked && &sslsock->s.timeout) {
1924+
if (began_blocked) {
19251925
timeout = &sslsock->s.timeout;
19261926
}
19271927

0 commit comments

Comments
 (0)