1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 19:23:22 +02:00
This commit is contained in:
Ilia Alshanetsky
2009-06-29 12:40:46 +00:00
parent 724c464ad0
commit 40fff3e335
+3 -3
View File
@@ -114,7 +114,7 @@ PHP_FUNCTION(stream_socket_client)
tv.tv_sec = conv / 1000000;
tv.tv_usec = conv % 1000000;
if (zerrno) {
if (zerrno) {
zval_dtor(zerrno);
ZVAL_LONG(zerrno, 0);
}
@@ -155,11 +155,11 @@ PHP_FUNCTION(stream_socket_client)
}
RETURN_FALSE;
}
if (errstr) {
efree(errstr);
}
php_stream_to_zval(stream, return_value);
if (zcontext) {