1 |
/* GNU Mailutils -- a suite of utilities for electronic mail |
/* GNU Mailutils -- a suite of utilities for electronic mail |
2 |
Copyright (C) 1999, 2001 Free Software Foundation, Inc. |
Copyright (C) 1999, 2001, 2002 Free Software Foundation, Inc. |
3 |
|
|
4 |
GNU Mailutils is free software; you can redistribute it and/or modify |
GNU Mailutils is free software; you can redistribute it and/or modify |
5 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
47 |
|
|
48 |
mailbox_get_url (mbox, &url); |
mailbox_get_url (mbox, &url); |
49 |
mailbox_messages_count (mbox, &held_count); |
mailbox_messages_count (mbox, &held_count); |
50 |
fprintf (ofile, _("Held %d messages in %s\n"), held_count, url_to_string (url)); |
fprintf (ofile, held_count == 1 ? _("Held %d message in %s\n") |
51 |
|
: _("Held %d messages in %s\n"), |
52 |
|
held_count, url_to_string (url)); |
53 |
mailbox_close (mbox); |
mailbox_close (mbox); |
54 |
mailbox_destroy (&mbox); |
mailbox_destroy (&mbox); |
55 |
return 0; |
return 0; |
125 |
url_t u = NULL; |
url_t u = NULL; |
126 |
|
|
127 |
mailbox_get_url (dest_mbox, &u); |
mailbox_get_url (dest_mbox, &u); |
128 |
fprintf(ofile, _("Saved %d messages in %s\n"), saved_count, |
fprintf(ofile, saved_count == 1 ? _("Saved %d message in %s\n") |
129 |
url_to_string (u)); |
: _("Saved %d messages in %s\n"), |
130 |
|
saved_count, url_to_string (u)); |
131 |
mailbox_close (dest_mbox); |
mailbox_close (dest_mbox); |
132 |
mailbox_destroy (&dest_mbox); |
mailbox_destroy (&dest_mbox); |
133 |
} |
} |