diff options
author | Markus Fischer <mfischer@php.net> | 2002-03-30 01:56:52 +0000 |
---|---|---|
committer | Markus Fischer <mfischer@php.net> | 2002-03-30 01:56:52 +0000 |
commit | e4d2fa88d7f0217bb6ec94cc2fed404f54c3d8b9 (patch) | |
tree | 669430aaad2f2095340e26671b6b6aa95f739661 /ext/ftp/php_ftp.c | |
parent | ae336171bd6642ab006aaf1b318ed3923c37e451 (diff) | |
download | php-git-e4d2fa88d7f0217bb6ec94cc2fed404f54c3d8b9.tar.gz |
- Fix #16348.
Diffstat (limited to 'ext/ftp/php_ftp.c')
-rw-r--r-- | ext/ftp/php_ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ftp/php_ftp.c b/ext/ftp/php_ftp.c index d3fd331bfa..f2e7c19484 100644 --- a/ext/ftp/php_ftp.c +++ b/ext/ftp/php_ftp.c @@ -135,7 +135,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; } |