cvs: php-src(PHP_5_0) /main/streams transports.c
| From: | Wez Furlong | Date: | Mon, 11 Oct 2004 01:41:23 +0000 |
| Subject: | cvs: php-src(PHP_5_0) /main/streams transports.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-28956@lists.php.net to get a copy of this message | ||
wez Sun Oct 10 21:41:23 2004 EDT
Modified files: (Branch: PHP_5_0)
/php-src/main/streams transports.c
Log:
MFH: return value fix (#30387 again)
http://cvs.php.net/diff.php/php-src/main/streams/transports.c?r1=1.12.2.2&r2=1.12.2.3&ty=u
Index: php-src/main/streams/transports.c
diff -u php-src/main/streams/transports.c:1.12.2.2 php-src/main/streams/transports.c:1.12.2.3
--- php-src/main/streams/transports.c:1.12.2.2 Sun Oct 10 21:34:26 2004
+++ php-src/main/streams/transports.c Sun Oct 10 21:41:23 2004
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: transports.c,v 1.12.2.2 2004/10/11 01:34:26 wez Exp $ */
+/* $Id: transports.c,v 1.12.2.3 2004/10/11 01:41:23 wez Exp $ */
#include "php.h"
#include "php_streams_int.h"
@@ -137,7 +137,7 @@
/* client */
if (flags & STREAM_XPORT_CONNECT) {
- if (0 != php_stream_xport_connect(stream, name, namelen,
+ if (-1 == php_stream_xport_connect(stream, name, namelen,
flags & STREAM_XPORT_CONNECT_ASYNC ? 1 : 0,
timeout, &error_text, error_code TSRMLS_CC)) {