From 7f235792b30e2e3d73b0e751d2049c6b64b78d49 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Fri, 24 Nov 2006 12:39:39 +0000 Subject: [PATCH] MFH: fix #39583 (ftp_put() does not change transfer mode to ASCII) --- NEWS | 1 + ext/ftp/ftp.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 61e7333d3be..dcf852f0113 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 5405d278f11..94cccd58764 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;