From: Wez Furlong Date: Mon, 11 Oct 2004 01:34:26 +0000 (+0000) Subject: MFH: Fix #30387: wrong flag used for async connection X-Git-Tag: php-5.0.3RC1~155 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a50b0e717f4c6fa9e4f3828347244f3ba0a9026a;p=php MFH: Fix #30387: wrong flag used for async connection --- diff --git a/main/streams/transports.c b/main/streams/transports.c index 37e0757a5e..b1de80d480 100644 --- a/main/streams/transports.c +++ b/main/streams/transports.c @@ -138,7 +138,7 @@ PHPAPI php_stream *_php_stream_xport_create(const char *name, long namelen, int 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");