diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-09-26 09:11:27 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-09-26 09:11:27 +0000 |
commit | b2d08a2155afe05d2dd6a01b6a2d2c5035d30b45 (patch) | |
tree | d5da7bfce0adcab7703f8997ad34c1a59996c3de /Src/Modules | |
parent | 84584ea58bf0a8f58ed0dcd30d769adffa3377f7 (diff) | |
download | zsh-b2d08a2155afe05d2dd6a01b6a2d2c5035d30b45.tar.gz zsh-b2d08a2155afe05d2dd6a01b6a2d2c5035d30b45.tar.xz zsh-b2d08a2155afe05d2dd6a01b6a2d2c5035d30b45.zip |
25744: dynamic named directories and further doshfunc() simplification
Diffstat (limited to 'Src/Modules')
-rw-r--r-- | Src/Modules/zftp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Src/Modules/zftp.c b/Src/Modules/zftp.c index 0d5e58e56..12a9f0de2 100644 --- a/Src/Modules/zftp.c +++ b/Src/Modules/zftp.c @@ -1480,7 +1480,7 @@ zfsenddata(char *name, int recv, int progress, off_t startat) int osc = sfcontext; sfcontext = SFC_HOOK; - doshfunc(shfunc, NULL, 0, 1); + doshfunc(shfunc, NULL, 1); sfcontext = osc; /* Now add in the bit of the file we've got/sent already */ sofar = last_sofar = startat; @@ -1613,7 +1613,7 @@ zfsenddata(char *name, int recv, int progress, off_t startat) zfsetparam("ZFTP_COUNT", &sofar, ZFPM_READONLY|ZFPM_INTEGER); sfcontext = SFC_HOOK; - doshfunc(shfunc, NULL, 0, 1); + doshfunc(shfunc, NULL, 1); sfcontext = osc; last_sofar = sofar; } @@ -2395,7 +2395,7 @@ zfgetcwd(void) int osc = sfcontext; sfcontext = SFC_HOOK; - doshfunc(shfunc, NULL, 0, 1); + doshfunc(shfunc, NULL, 1); sfcontext = osc; } return 0; @@ -2615,7 +2615,7 @@ zftp_getput(char *name, char **args, int flags) zfsetparam("ZFTP_TRANSFER", ztrdup(recv ? "GF" : "PF"), ZFPM_READONLY); sfcontext = SFC_HOOK; - doshfunc(shfunc, NULL, 0, 1); + doshfunc(shfunc, NULL, 1); sfcontext = osc; } if (rest) { @@ -2770,7 +2770,7 @@ zfclose(int leaveparams) int osc = sfcontext; sfcontext = SFC_HOOK; - doshfunc(shfunc, NULL, 0, 1); + doshfunc(shfunc, NULL, 1); sfcontext = osc; } } |