mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
- MFH fix for #16348.
This commit is contained in:
@@ -136,7 +136,7 @@ PHP_FUNCTION(ftp_connect)
|
||||
}
|
||||
|
||||
/* connect */
|
||||
ftp = ftp_open(host, htons((short)port), timeout_sec);
|
||||
ftp = ftp_open(host, (short)port, timeout_sec);
|
||||
if (ftp == NULL) {
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user