summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-11-24 12:39:39 +0000
committerAntony Dovgal <tony2001@php.net>2006-11-24 12:39:39 +0000
commit7f235792b30e2e3d73b0e751d2049c6b64b78d49 (patch)
treef52edbe4903f4794b1150fb91e1470f44df34198
parent724f500c92d57dd9593d1f6f61d3dd118bfbe01a (diff)
downloadphp-git-7f235792b30e2e3d73b0e751d2049c6b64b78d49.tar.gz
MFH: fix #39583 (ftp_put() does not change transfer mode to ASCII)
-rw-r--r--NEWS1
-rw-r--r--ext/ftp/ftp.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 61e7333d3b..dcf852f011 100644
--- a/NEWS
+++ b/NEWS
@@ -44,6 +44,7 @@ PHP NEWS
- Fixed bug #39613 (Possible segfault in imap initialization due to missing
module dependency). (wharmby at uk dot ibm dot com, Tony)
- Fixed bug #39602 (Invalid session.save_handler crashes PHP). (Dmitry)
+- Fixed bug #39583 (ftp_put() does not change transfer mode to ASCII). (Tony)
- Fixed bug #39576 (array_walk() doesn't separate userdata zval). (Tony)
- Fixed bug #39548 (ZMSG_LOG_SCRIPT_NAME not routed to OutputDebugString()
on Windows). (Dmitry)
diff --git a/ext/ftp/ftp.h b/ext/ftp/ftp.h
index 5405d278f1..94cccd5876 100644
--- a/ext/ftp/ftp.h
+++ b/ext/ftp/ftp.h
@@ -39,7 +39,7 @@
#define FTP_BUFSIZE 4096
typedef enum ftptype {
- FTPTYPE_ASCII,
+ FTPTYPE_ASCII=1,
FTPTYPE_IMAGE
} ftptype_t;