Skip to content

Commit

Permalink
lib: iostream-temp: Fixed o_stream_send_istream()
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen committed May 31, 2016
1 parent de1c645 commit e20f592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/iostream-temp.c
Expand Up @@ -214,7 +214,7 @@ o_stream_temp_send_istream(struct ostream_private *_outstream,
enum ostream_send_istream_result res;

if ((outstream->flags & IOSTREAM_TEMP_FLAG_TRY_FD_DUP) != 0) {
if (!o_stream_temp_dup_istream(outstream, instream, &res))
if (o_stream_temp_dup_istream(outstream, instream, &res))
return res;
outstream->flags &= ~IOSTREAM_TEMP_FLAG_TRY_FD_DUP;
}
Expand Down

0 comments on commit e20f592

Please sign in to comment.