summaryrefslogtreecommitdiff
path: root/Src/Modules/zftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Modules/zftp.c')
-rw-r--r--Src/Modules/zftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/zftp.c b/Src/Modules/zftp.c
index af48e80aa..4679c56a6 100644
--- a/Src/Modules/zftp.c
+++ b/Src/Modules/zftp.c
@@ -2568,7 +2568,7 @@ zftp_getput(char *name, char **args, int flags)
char *ln, *rest = NULL;
off_t startat = 0;
if (progress && (prog = getshfunc("zftp_progress")) != &dummy_eprog) {
- off_t sz;
+ off_t sz = -1;
/*
* This calls the SIZE command to get the size for remote
* files. Some servers send the size with the reply to