mirror of
https://github.com/php/php-src.git
synced 2026-04-12 18:43:37 +02:00
Fixed bug where socket_connect() return the wrong value (report and fix by
Till Gerken)
This commit is contained in:
@@ -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:
|
||||
*/
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user