From: Timo Sirainen Date: Wed, 29 Jun 2016 19:11:48 +0000 (+0300) Subject: lib: iostream-temp: Fixed o_stream_send_istream() with >2GB files X-Git-Tag: 2.2.25.rc1~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8051312f9;p=thirdparty%2Fdovecot%2Fcore.git lib: iostream-temp: Fixed o_stream_send_istream() with >2GB files --- diff --git a/src/lib/iostream-temp.c b/src/lib/iostream-temp.c index 907837b102..c87ffef9fe 100644 --- a/src/lib/iostream-temp.c +++ b/src/lib/iostream-temp.c @@ -145,8 +145,8 @@ static int o_stream_temp_dup_cancel(struct temp_ostream *tstream) return ret < 0 ? -1 : 0; } -static int o_stream_temp_dup_istream(struct temp_ostream *outstream, - struct istream *instream) +static off_t o_stream_temp_dup_istream(struct temp_ostream *outstream, + struct istream *instream) { uoff_t in_size; off_t ret;