1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 09:42:22 +01:00

check the correct flag for async connect

This commit is contained in:
Wez Furlong
2004-10-11 01:30:19 +00:00
parent 7f9f359105
commit 7cb4e769ff

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");