Mercurial > dovecot > core-2.2
changeset 20791:34f60577aa8b
lib: iostream-temp: Fixed o_stream_send_istream() with >2GB files
8051312f9 wasn't quite enough.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Tue, 11 Oct 2016 11:03:06 +0300 |
parents | ef963c787453 |
children | 1259d3f11806 |
files | src/lib/iostream-temp.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib/iostream-temp.c Mon Oct 10 14:42:24 2016 +0300 +++ b/src/lib/iostream-temp.c Tue Oct 11 11:03:06 2016 +0300 @@ -224,7 +224,7 @@ { struct temp_ostream *outstream = (struct temp_ostream *)_outstream; uoff_t orig_offset; - int ret; + off_t ret; if ((outstream->flags & IOSTREAM_TEMP_FLAG_TRY_FD_DUP) != 0) { orig_offset = outstream->dupstream_offset;