summaryrefslogtreecommitdiff
path: root/comsat
diff options
context:
space:
mode:
authorSam Roberts <sroberts@uniserve.com>2001-12-16 05:34:16 +0000
committerSam Roberts <sroberts@uniserve.com>2001-12-16 05:34:16 +0000
commit69a7eacb090fe733c8ffe108a5b0f8841abde1cf (patch)
treee6d6e81a943f33edd16f03cc7cb97d89f74bcde5 /comsat
parent7cf404b6cc55e3249286dcdf1e04f51b1a3bdc92 (diff)
downloadmailutils-69a7eacb090fe733c8ffe108a5b0f8841abde1cf.tar.gz
mailutils-69a7eacb090fe733c8ffe108a5b0f8841abde1cf.tar.bz2
Modified stream creation and opening. The *_stream_create() functions now
take the specific arguments appropriate to them and setup a stream_t so that stream_open(), which now takes no arguments, can perform whatever actions are appropriate when opening that particular kind of stream. I have tested the changes with the example programs and sieve, but not with the imap or pop servers.
Diffstat (limited to 'comsat')
-rw-r--r--comsat/comsat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/comsat/comsat.c b/comsat/comsat.c
index c19958497..8be9fc6c3 100644
--- a/comsat/comsat.c
+++ b/comsat/comsat.c
@@ -481,7 +481,7 @@ notify_user (const char *user, const char *device, const char *path, off_t offse
return;
}
- if ((status = memory_stream_create (&stream)))
+ if ((status = memory_stream_create (&stream, 0, 0)))
{
syslog (LOG_ERR, "can't create temporary stream: %s",
strerror (status));

Return to:

Send suggestions and report system problems to the System administrator.