summaryrefslogtreecommitdiff
path: root/ext/ftp
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 /ext/ftp
parent724f500c92d57dd9593d1f6f61d3dd118bfbe01a (diff)
downloadphp-git-7f235792b30e2e3d73b0e751d2049c6b64b78d49.tar.gz
MFH: fix #39583 (ftp_put() does not change transfer mode to ASCII)
Diffstat (limited to 'ext/ftp')
-rw-r--r--ext/ftp/ftp.h2
1 files changed, 1 insertions, 1 deletions
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;