Commit 5c6aee36 5c6aee36407c10c233707b862d5c9cbeca09690b by Sergey Poznyakoff

Changed mda() declaration.

1 parent 673c89b8
......@@ -102,7 +102,7 @@ extern int exit_code;
extern void setgroupquota (char *str);
extern int check_quota (char *name, size_t size, size_t *rest);
int mda (FILE *fp, char *username, mailbox_t mbox);
int mda (FILE *fp, char *username);
char *make_progfile_name (char *pattern, char *username);
#ifdef WITH_GUILE
......
......@@ -236,7 +236,7 @@ main (int argc, char *argv[])
unlink (tempfile);
for (; *argv; argv++)
mda (fp, *argv, NULL);
mda (fp, *argv);
return exit_code;
}
......@@ -315,19 +315,8 @@ make_progfile_name (char *pattern, char *username)
}
int
mda (FILE *fp, char *username, mailbox_t mbox)
mda (FILE *fp, char *username)
{
if (mbox)
{
message_t mesg = NULL;
attribute_t attr = NULL;
mailbox_get_message (mbox, 1, &mesg);
message_get_attribute (mesg, &attr);
if (attribute_is_deleted (attr))
return EX_OK;
}
deliver (fp, username);
if (multiple_delivery)
......