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:
@@ -1238,6 +1238,7 @@ send_data(FILE *instr, FILE *outstr, off_t blksize)
|
|||||||
munmap(chunk, st.st_size);
|
munmap(chunk, st.st_size);
|
||||||
auth_write(fileno(outstr), NULL, 0);
|
auth_write(fileno(outstr), NULL, 0);
|
||||||
cnt = st.st_size;
|
cnt = st.st_size;
|
||||||
|
byte_count = cnt;
|
||||||
transflag = 0;
|
transflag = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user