Commit 150ebcfa 150ebcfaf5ded43ff71313ce2acff79bf99c1487 by Sergey Poznyakoff

Use full buffering for streamrefs.

* libmailutils/stream/streamref.c (mu_streamref_create_abridged): Set
full buffering by default.
1 parent 1d5c1ef0
...@@ -302,6 +302,9 @@ mu_streamref_create_abridged (mu_stream_t *pref, mu_stream_t str, ...@@ -302,6 +302,9 @@ mu_streamref_create_abridged (mu_stream_t *pref, mu_stream_t str,
302 off = start; 302 off = start;
303 sp->offset = off; 303 sp->offset = off;
304 *pref = (mu_stream_t) sp; 304 *pref = (mu_stream_t) sp;
305
306 mu_stream_set_buffer (*pref, mu_buffer_full, 0);
307
305 return 0; 308 return 0;
306 } 309 }
307 310
......