summaryrefslogtreecommitdiff
path: root/ext/ftp/php_ftp.c
diff options
context:
space:
mode:
authorMarkus Fischer <mfischer@php.net>2002-01-02 15:01:15 +0000
committerMarkus Fischer <mfischer@php.net>2002-01-02 15:01:15 +0000
commitf7bd38413edd1e118bf282119de8c5f44651a37e (patch)
treee9496a9741ecc902b85103e8e8a95d22f66fae1b /ext/ftp/php_ftp.c
parent9bde60d1487f9108ab6bd2595c12afe542082782 (diff)
downloadphp-git-f7bd38413edd1e118bf282119de8c5f44651a37e.tar.gz
- Corrected proto for ftp_connect() (new optional parameter for initial
custom timeout).
Diffstat (limited to 'ext/ftp/php_ftp.c')
-rw-r--r--ext/ftp/php_ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ftp/php_ftp.c b/ext/ftp/php_ftp.c
index 80f8790f38..9f3b51f872 100644
--- a/ext/ftp/php_ftp.c
+++ b/ext/ftp/php_ftp.c
@@ -116,7 +116,7 @@ PHP_MINFO_FUNCTION(ftp)
#define FILEP(fp, pval) ZEND_FETCH_RESOURCE(fp, FILE *, &pval, -1, "File-Handle", php_file_le_fopen());
-/* {{{ proto resource ftp_connect(string host [, int port])
+/* {{{ proto resource ftp_connect(string host [, int port [, int timeout)]])
Opens a FTP stream */
PHP_FUNCTION(ftp_connect)
{