summaryrefslogtreecommitdiff
path: root/comms/lrzsz/files/patch-lsz.c
blob: 439a1d9884b20d6afe5c34450d3739765773517e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- src/lsz.c.orig	1998-12-29 22:07:59 UTC
+++ src/lsz.c
@@ -1191,6 +1191,7 @@ wctxpn(struct zm_fileinfo *zi)
 	struct stat f;
 
 	name2=alloca(PATH_MAX+1);
+	f.st_size = 0;
 
 	if (protocol==ZM_XMODEM) {
 		if (Verbose && *zi->fname && fstat(fileno(input_f), &f)!= -1) {