summaryrefslogtreecommitdiff
path: root/ext/ftp
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-11-24 12:38:25 +0000
committerAntony Dovgal <tony2001@php.net>2006-11-24 12:38:25 +0000
commita3cf20ddc30a9c89c9d303bd50b781629f1cf7d0 (patch)
treefcc69046e1ef57c2dae49e4382cbc136850d4374 /ext/ftp
parent92ed3d2b4c1ca86c54a18f936eb14c65717e5f4f (diff)
downloadphp-git-a3cf20ddc30a9c89c9d303bd50b781629f1cf7d0.tar.gz
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;