diff options
| author | Tanaka Akira <akr@users.sourceforge.net> | 1999-07-19 14:26:14 +0000 |
|---|---|---|
| committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-07-19 14:26:14 +0000 |
| commit | d6d4a3abfc84f0940e663cd69537789a039a7056 (patch) | |
| tree | 5f5f40ae248c17c34fccbcadef85dddd4136b781 /Src/Modules | |
| parent | zsh-3.1.6-test-1 (diff) | |
| download | zsh-d6d4a3abfc84f0940e663cd69537789a039a7056.tar zsh-d6d4a3abfc84f0940e663cd69537789a039a7056.tar.gz zsh-d6d4a3abfc84f0940e663cd69537789a039a7056.tar.bz2 zsh-d6d4a3abfc84f0940e663cd69537789a039a7056.tar.lz zsh-d6d4a3abfc84f0940e663cd69537789a039a7056.tar.xz zsh-d6d4a3abfc84f0940e663cd69537789a039a7056.tar.zst zsh-d6d4a3abfc84f0940e663cd69537789a039a7056.zip | |
zsh-3.1.6-test-2zsh-3.1.6-test-2
Diffstat (limited to 'Src/Modules')
| -rw-r--r-- | Src/Modules/zftp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Src/Modules/zftp.c b/Src/Modules/zftp.c index 63bca854c..738d596fa 100644 --- a/Src/Modules/zftp.c +++ b/Src/Modules/zftp.c @@ -2261,7 +2261,7 @@ zftp_type(char *name, char **args, int flags) fflush(stdout); return 0; } else { - nt = toupper(*str); + nt = toupper(STOUC(*str)); /* * RFC959 specifies other types, but these are the only * ones we know what to do with. @@ -2294,7 +2294,7 @@ zftp_mode(char *name, char **args, int flags) fflush(stdout); return 0; } - nt = str[0] = toupper(*str); + nt = str[0] = toupper(STOUC(*str)); if (str[1] || (nt != 'S' && nt != 'B')) { zwarnnam(name, "transfer mode %s not recognised", str, 0); return 1; @@ -2651,7 +2651,7 @@ bin_zftp(char *name, char **args, char *ops, int func) if ((prefs = getsparam("ZFTP_PREFS"))) { zfprefs = 0; for (ptr = prefs; *ptr; ptr++) { - switch (toupper(*ptr)) { + switch (toupper(STOUC(*ptr))) { case 'S': /* sendport */ zfprefs |= ZFPF_SNDP; |
