Skip to content

Commit

Permalink
lib: iostream-temp: Fixed o_stream_send_istream() with >2GB files
Browse files Browse the repository at this point in the history
8051312 wasn't quite enough.
  • Loading branch information
sirainen committed Oct 11, 2016
1 parent 2803686 commit a98be20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/iostream-temp.c
Expand Up @@ -224,7 +224,7 @@ static off_t o_stream_temp_send_istream(struct ostream_private *_outstream,
{
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;
Expand Down

0 comments on commit a98be20

Please sign in to comment.