diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | ext/ftp/ftp.h | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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; |