check the correct flag for async connect

This commit is contained in:
Wez Furlong committed 2004-10-11 01:30:19 +00:00
1 parent 7f9f359105
commit 7cb4e769ff
1 file changed
+1 -1
+1 -1
View File
@@ -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");