]> granicus.if.org Git - php/commitdiff
- FTP_BINARY is more common instead of FTP_IMAGE.
authorMarkus Fischer <mfischer@php.net>
Thu, 3 Jan 2002 07:57:58 +0000 (07:57 +0000)
committerMarkus Fischer <mfischer@php.net>
Thu, 3 Jan 2002 07:57:58 +0000 (07:57 +0000)
ext/ftp/php_ftp.c

index f853c9cf81ff0d46b6823a204a4e7d0e04345782..81718e9f397e69274893fc1ad25239aa5206eb69 100644 (file)
@@ -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; \