Set `byte_count' even when using mmap.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1377 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-03-12 16:01:54 +00:00
parent a7955e78a0
commit 8a64dd5370

View File

@@ -1238,6 +1238,7 @@ send_data(FILE *instr, FILE *outstr, off_t blksize)
munmap(chunk, st.st_size);
auth_write(fileno(outstr), NULL, 0);
cnt = st.st_size;
byte_count = cnt;
transflag = 0;
}
}