summaryrefslogtreecommitdiff
path: root/frm/frm.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-12-06 22:24:46 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2010-12-06 22:24:46 +0200
commitf88a8d059027ab10e2b6f0bd0f59764a6947474c (patch)
treef3a8fa485992e611de017a09984a1c62e4f26cbd /frm/frm.c
parent1f44f1ad1f04c4d11ae4f56d2595a6126b223540 (diff)
downloadmailutils-f88a8d059027ab10e2b6f0bd0f59764a6947474c.tar.gz
mailutils-f88a8d059027ab10e2b6f0bd0f59764a6947474c.tar.bz2
frm,messages,readmsg: Use MU streams instead of stdio.
* frm/common.c: Use MU streams instead of stdio. * frm/frm.c: Likewise. * messages/messages.c: Likewise. * readmsg/readmsg.c: Likewise. * frm/frm.h: Include mailutils/stdstream.h * readmsg/readmsg.h: Likewise.
Diffstat (limited to 'frm/frm.c')
-rw-r--r--frm/frm.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/frm/frm.c b/frm/frm.c
index c0348e046..7b2b0d854 100644
--- a/frm/frm.c
+++ b/frm/frm.c
@@ -266,16 +266,16 @@ frm (char *mailbox_name)
if (show_summary)
{
if (total == 0)
- printf (_("Folder contains no messages."));
+ mu_printf (_("Folder contains no messages."));
else
{
char *delim = "";
- printf (_("Folder contains "));
+ mu_printf (_("Folder contains "));
if (counter.new)
{
- printf (ngettext ("%lu new message",
+ mu_printf (ngettext ("%lu new message",
"%lu new messages",
counter.new),
(u_long) counter.new);
@@ -284,9 +284,9 @@ frm (char *mailbox_name)
if (counter.unread)
{
- printf ("%s", delim);
+ mu_printf ("%s", delim);
- printf (ngettext ("%lu unread message",
+ mu_printf (ngettext ("%lu unread message",
"%lu unread messages",
counter.unread),
(u_long) counter.unread);
@@ -295,9 +295,9 @@ frm (char *mailbox_name)
if (counter.read)
{
- printf ("%s", delim);
+ mu_printf ("%s", delim);
- printf (ngettext ("%lu read message",
+ mu_printf (ngettext ("%lu read message",
"%lu read messages",
counter.read),
(u_long) counter.read);
@@ -309,16 +309,16 @@ frm (char *mailbox_name)
Leave it as it is unless your language requires to reorder
the parts of speach in the message
*/
- printf (_("."));
+ mu_printf (_("."));
}
- printf ("\n");
+ mu_printf ("\n");
}
else if (show_query)
{
if (total > 0)
- printf (_("There are messages in that folder.\n"));
+ mu_printf (_("There are messages in that folder.\n"));
else
- printf (_("No messages in that folder!\n"));
+ mu_printf (_("No messages in that folder!\n"));
}
/* EXIT STATUS
@@ -366,7 +366,7 @@ main (int argc, char **argv)
else
for (; c < argc; c++)
{
- printf ("%s:\n", argv[c]);
+ mu_printf ("%s:\n", argv[c]);
status = frm (argv[c]);
}

Return to:

Send suggestions and report system problems to the System administrator.