From 299eea40e7ac8db14603d8fb4e77a4af2ca3c18f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gustavo=20Andr=C3=A9=20dos=20Santos=20Lopes?= Date: Tue, 28 Jun 2011 10:27:29 +0000 Subject: [PATCH] - Fixed socket_import_stream returning NULL on some errors and FALSE on others --- ext/sockets/sockets.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index 456e89d087..42af613a98 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -2520,6 +2520,7 @@ PHP_FUNCTION(socket_import_stream) error: if (retsock != NULL) efree(retsock); + RETURN_FALSE; } /* }}} */ -- 2.50.1