summaryrefslogtreecommitdiff
path: root/mailbox2
diff options
context:
space:
mode:
authorAlain Magloire <alainm@gnu.org>2001-07-03 03:30:30 +0000
committerAlain Magloire <alainm@gnu.org>2001-07-03 03:30:30 +0000
commit2a86436dde010b804a4d360fe5c2c4ec1ca8f8d3 (patch)
tree211f29c094174de0d44515463cf95e966b8f1d60 /mailbox2
parentce11873215acb4cb1a17656c8c3effa4850dedcb (diff)
downloadmailutils-2a86436dde010b804a4d360fe5c2c4ec1ca8f8d3.tar.gz
mailutils-2a86436dde010b804a4d360fe5c2c4ec1ca8f8d3.tar.bz2
* mailbox2/pop3_stream.c: Use a buffered stream.
Diffstat (limited to 'mailbox2')
-rw-r--r--mailbox2/pop3/pop3_stream.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mailbox2/pop3/pop3_stream.c b/mailbox2/pop3/pop3_stream.c
index 0cec7bbdb..7b48373b5 100644
--- a/mailbox2/pop3/pop3_stream.c
+++ b/mailbox2/pop3/pop3_stream.c
@@ -48,11 +48,11 @@ pop3_get_stream (pop3_t pop3, stream_t *pstream)
if (pop3->stream == NULL)
{
- int status = stream_tcp_create (&(pop3->stream));
+ stream_t stream = NULL;
+ int status = stream_tcp_create (&stream));
if (status)
return status;
- /* Using the awkward stream_t buffering. */
- /* stream_setbufsiz (pop3->stream, 1024); */
+ stream_buffer_create (&(pop3->stream), stream, 1024); */
}
*pstream = pop3->stream;
return 0;

Return to:

Send suggestions and report system problems to the System administrator.