From dc612d68a1c748fa716121a219d1011522ca5a0a Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Tue, 6 May 1997 01:36:42 +0000 Subject: [PATCH] typo git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1667 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/ftpd/ftpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appl/ftp/ftpd/ftpd.c b/appl/ftp/ftpd/ftpd.c index 323332d15..9d17518a4 100644 --- a/appl/ftp/ftpd/ftpd.c +++ b/appl/ftp/ftpd/ftpd.c @@ -1291,7 +1291,7 @@ send_data(FILE *instr, FILE *outstr, off_t blksize) if(fstat(in, &st) == 0 && S_ISREG(st.st_mode)){ chunk = mmap(0, st.st_size, PROT_READ, MAP_SHARED, in, 0); if(chunk != NULL){ - cnt = st.sz_size - restart_point; + cnt = st.st_size - restart_point; auth_write(fileno(outstr), chunk + restart_point, cnt);