wez Sun Oct 10 21:34:26 2004 EDT
Modified files: (Branch: PHP_5_0)
/php-src/main/streams transports.c
Log:
MFH: Fix #30387: wrong flag used for async connection
http://cvs.php.net/diff.php/php-src/main/streams/transports.c?r1=1.12.2.1&r2=1.12.2.2&ty=u
Index: php-src/main/streams/transports.c
diff -u php-src/main/streams/transports.c:1.12.2.1
php-src/main/streams/transports.c:1.12.2.2
--- php-src/main/streams/transports.c:1.12.2.1 Sat Jul 31 07:00:11 2004
+++ php-src/main/streams/transports.c Sun Oct 10 21:34:26 2004
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: transports.c,v 1.12.2.1 2004/07/31 11:00:11 wez Exp $ */
+/* $Id: transports.c,v 1.12.2.2 2004/10/11 01:34:26 wez Exp $ */
#include "php.h"
#include "php_streams_int.h"
@@ -138,7 +138,7 @@
if (flags & STREAM_XPORT_CONNECT) {
if (0 != php_stream_xport_connect(stream, name,
namelen,
- flags &
STREAM_XPORT_OP_CONNECT_ASYNC ? 1 : 0,
+ flags &
STREAM_XPORT_CONNECT_ASYNC ? 1 : 0,
timeout, &error_text,
error_code TSRMLS_CC)) {
ERR_RETURN(error_string, error_text,
"connect() failed: %s");
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php