wez Sun Oct 10 21:30:20 2004 EDT
Modified files:
/php-src/main/streams transports.c
Log:
check the correct flag for async connect
http://cvs.php.net/diff.php/php-src/main/streams/transports.c?r1=1.13&r2=1.14&ty=u
Index: php-src/main/streams/transports.c
diff -u php-src/main/streams/transports.c:1.13 php-src/main/streams/transports.c:1.14
--- php-src/main/streams/transports.c:1.13 Sat Jul 31 06:56:55 2004
+++ php-src/main/streams/transports.c Sun Oct 10 21:30:19 2004
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: transports.c,v 1.13 2004/07/31 10:56:55 wez Exp $ */
+/* $Id: transports.c,v 1.14 2004/10/11 01:30:19 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