Skip to content

Commit

Permalink
lib: iostream-temp is a blocking ostream.
Browse files Browse the repository at this point in the history
It goes either to in-memory buffer or to a file.
  • Loading branch information
sirainen committed May 19, 2016
1 parent b27a8a9 commit da574ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/iostream-temp.c
Expand Up @@ -252,6 +252,7 @@ struct ostream *iostream_temp_create_sized(const char *temp_path_prefix,
struct ostream *output;

tstream = i_new(struct temp_ostream, 1);
tstream->ostream.ostream.blocking = TRUE;
tstream->ostream.sendv = o_stream_temp_sendv;
tstream->ostream.send_istream = o_stream_temp_send_istream;
tstream->ostream.write_at = o_stream_temp_write_at;
Expand Down

0 comments on commit da574ef

Please sign in to comment.