--- embedaddon/php/ext/standard/fsock.c 2012/02/21 23:48:02 1.1.1.1 +++ embedaddon/php/ext/standard/fsock.c 2012/05/29 12:34:43 1.1.1.2 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: fsock.c,v 1.1.1.1 2012/02/21 23:48:02 misho Exp $ */ +/* $Id: fsock.c,v 1.1.1.2 2012/05/29 12:34:43 misho Exp $ */ #include "php.h" #include "php_globals.h" @@ -76,7 +76,7 @@ static void php_fsockopen_stream(INTERNAL_FUNCTION_PAR ZVAL_STRING(zerrstr, "", 1); } - stream = php_stream_xport_create(hostname, hostname_len, ENFORCE_SAFE_MODE | REPORT_ERRORS, + stream = php_stream_xport_create(hostname, hostname_len, REPORT_ERRORS, STREAM_XPORT_CLIENT | STREAM_XPORT_CONNECT, hashkey, &tv, NULL, &errstr, &err); if (port > 0) {