]> granicus.if.org Git - php/commitdiff
MFH: fix #39583 (ftp_put() does not change transfer mode to ASCII)
authorAntony Dovgal <tony2001@php.net>
Fri, 24 Nov 2006 12:40:39 +0000 (12:40 +0000)
committerAntony Dovgal <tony2001@php.net>
Fri, 24 Nov 2006 12:40:39 +0000 (12:40 +0000)
NEWS
ext/ftp/ftp.h

diff --git a/NEWS b/NEWS
index 6d8dc31d6682bc92e05755f2e3037d2ed225ca57..470e3c66e825eae279ee0dde01db044026b2e214 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@ PHP 4                                                                      NEWS
 ?? ??? 2006, Version 4.4.5
 - Updated PCRE to version 6.7. (Ilia)
 - Fixed missing open_basedir check inside chdir() function. (Ilia)
+- Fixed bug #39583 (ftp_put() does not change transfer mode to ASCII). (Tony)
 - Fixed bug #39354 (Allow building of curl extension against libcurl
   7.16.0). (Ilia)
 - Fixed bug #39034 (curl_exec() with return transfer returns TRUE on empty
index fe252859c6b6b6721790789e67185932c9a12bff..8088f35bb5bbc6c5c2d614f68cb74c7e6b3b457f 100644 (file)
@@ -39,7 +39,7 @@
 #define        FTP_BUFSIZE     4096
 
 typedef enum ftptype {
-       FTPTYPE_ASCII,
+       FTPTYPE_ASCII=1,
        FTPTYPE_IMAGE
 } ftptype_t;