Skip to content

Commit b3d28d1

Browse files
committed
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: fix condition
2 parents adc4265 + 5ff77b0 commit b3d28d1

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
@@ -1864,7 +1864,7 @@ static size_t php_openssl_sockop_io(int read, php_stream *stream, char *buf, siz
18641864
if (errno == EAGAIN && err == SSL_ERROR_WANT_READ && read) {
18651865
retry = 1;
18661866
}
1867-
if (errno == EAGAIN && SSL_ERROR_WANT_WRITE && read == 0) {
1867+
if (errno == EAGAIN && err == SSL_ERROR_WANT_WRITE && read == 0) {
18681868
retry = 1;
18691869
}
18701870

0 commit comments

Comments
 (0)