com php-src: fix condition: ext/openssl/xp_ssl.c

From: Date: Fri, 13 Feb 2015 12:39:46 +0000
Subject: com php-src: fix condition: ext/openssl/xp_ssl.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-84859@lists.php.net to get a copy of this message
Commit: 5ff77b005b646e1ae497640d9ddfa37f486f09a8 Author: Anatol Belski <ab@php.net> Fri, 13 Feb 2015 13:39:46 +0100 Parents: 3a71fa36a230d1908d71a98086ab7c6fa9519530 Branches: PHP-5.5 PHP-5.6 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5ff77b005b646e1ae497640d9ddfa37f486f09a8 Log: fix condition Changed paths: M ext/openssl/xp_ssl.c Diff: diff --git a/ext/openssl/xp_ssl.c b/ext/openssl/xp_ssl.c index 5adff1f..b8d747b 100644 --- a/ext/openssl/xp_ssl.c +++ b/ext/openssl/xp_ssl.c @@ -263,7 +263,7 @@ static size_t php_openssl_sockop_io(int read, php_stream *stream, char *buf, siz if (errno == EAGAIN && err == SSL_ERROR_WANT_READ && read) { retry = 1; } - if (errno == EAGAIN && SSL_ERROR_WANT_WRITE && read == 0) { + if (errno == EAGAIN && err == SSL_ERROR_WANT_WRITE && read == 0) { retry = 1; }

« previous php.cvs (#84859) next »