From dc38b40eb88566c961cf78149a08bcd4e65ffd54 Mon Sep 17 00:00:00 2001 From: Sterling Hughes Date: Mon, 21 May 2001 16:55:27 +0000 Subject: [PATCH] Fixed bug where socket_connect() return the wrong value (report and fix by Till Gerken) --- ext/sockets/sockets.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index 6de3e454e22..e9c3bcd553c 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -939,7 +939,7 @@ PHP_FUNCTION(socket_connect) RETURN_FALSE; } - RETURN_FALSE; + RETURN_TRUE; } /* }}} */ @@ -1988,4 +1988,4 @@ PHP_FUNCTION(socket_shutdown) * tab-width: 4 * c-basic-offset: 4 * End: - */ \ No newline at end of file + */