diff options
author | Markus Fischer <mfischer@php.net> | 2002-01-03 07:57:58 +0000 |
---|---|---|
committer | Markus Fischer <mfischer@php.net> | 2002-01-03 07:57:58 +0000 |
commit | 84b948a15f25858b0199c2650168a363691813ae (patch) | |
tree | 18161ee6051f61dd111dbfeb5f270df565f51de9 /ext/ftp/php_ftp.c | |
parent | 21cc717bac50f0a113f8162e938b049b97832a55 (diff) | |
download | php-git-84b948a15f25858b0199c2650168a363691813ae.tar.gz |
- FTP_BINARY is more common instead of FTP_IMAGE.
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 f853c9cf81..81718e9f39 100644 --- a/ext/ftp/php_ftp.c +++ b/ext/ftp/php_ftp.c @@ -108,7 +108,7 @@ PHP_MINFO_FUNCTION(ftp) #define XTYPE(xtype, mode) { \ if (mode != FTPTYPE_ASCII && mode != FTPTYPE_IMAGE) { \ - php_error(E_WARNING, "%s(): mode must be FTP_ASCII or FTP_IMAGE", get_active_function_name(TSRMLS_C)); \ + php_error(E_WARNING, "%s(): mode must be FTP_ASCII or FTP_BINARY", get_active_function_name(TSRMLS_C)); \ RETURN_FALSE; \ } \ xtype = mode; \ |