summaryrefslogtreecommitdiff
path: root/comsat/comsat.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2005-08-26 14:23:32 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2005-08-26 14:23:32 +0000
commit6178304b1670d7288d8a37b9165bda5cbc44c180 (patch)
treee17d3bce1e0b2a537937bc331efa240ce382b81e /comsat/comsat.c
parentef22616eba2aaa4e05079852ac1fa67c4ceeff08 (diff)
downloadmailutils-6178304b1670d7288d8a37b9165bda5cbc44c180.tar.gz
mailutils-6178304b1670d7288d8a37b9165bda5cbc44c180.tar.bz2
Normalize global namespace. Part 1
Diffstat (limited to 'comsat/comsat.c')
-rw-r--r--comsat/comsat.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/comsat/comsat.c b/comsat/comsat.c
index d70ef66e0..a73574a1d 100644
--- a/comsat/comsat.c
+++ b/comsat/comsat.c
@@ -450,15 +450,15 @@ notify_user (const char *user, const char *device, const char *path, off_t offse
return;
}
- if ((status = mailbox_create (&mbox, path)) != 0
- || (status = mailbox_open (mbox, MU_STREAM_READ)) != 0)
+ if ((status = mu_mailbox_create (&mbox, path)) != 0
+ || (status = mu_mailbox_open (mbox, MU_STREAM_READ)) != 0)
{
syslog (LOG_ERR, _("Cannot open mailbox %s: %s"),
path, mu_strerror (status));
return;
}
- if ((status = mailbox_get_stream (mbox, &stream)))
+ if ((status = mu_mailbox_get_stream (mbox, &stream)))
{
syslog (LOG_ERR, _("Cannot get stream for mailbox %s: %s"),
path, mu_strerror (status));
@@ -481,8 +481,8 @@ notify_user (const char *user, const char *device, const char *path, off_t offse
stream_read (stream, blurb, size, offset, &n);
blurb[size] = 0;
- if ((status = mailbox_create (&tmp, "/dev/null")) != 0
- || (status = mailbox_open (tmp, MU_STREAM_READ)) != 0)
+ if ((status = mu_mailbox_create (&tmp, "/dev/null")) != 0
+ || (status = mu_mailbox_open (tmp, MU_STREAM_READ)) != 0)
{
syslog (LOG_ERR, _("Cannot create temporary mailbox: %s"),
mu_strerror (status));
@@ -497,9 +497,9 @@ notify_user (const char *user, const char *device, const char *path, off_t offse
}
stream_write (stream, blurb, size, 0, &count);
- mailbox_set_stream (tmp, stream);
- mailbox_messages_count (tmp, &count);
- mailbox_get_message (tmp, 1, &msg);
+ mu_mailbox_set_stream (tmp, stream);
+ mu_mailbox_messages_count (tmp, &count);
+ mu_mailbox_get_message (tmp, 1, &msg);
run_user_action (fp, cr, msg);
fclose (fp);

Return to:

Send suggestions and report system problems to the System administrator.