From: Markus Fischer Date: Thu, 3 Jan 2002 07:57:58 +0000 (+0000) Subject: - FTP_BINARY is more common instead of FTP_IMAGE. X-Git-Tag: PRE_ISSET_PATCH~322 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=84b948a15f25858b0199c2650168a363691813ae;p=php - FTP_BINARY is more common instead of FTP_IMAGE. --- 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; \