summaryrefslogtreecommitdiff
path: root/pop3d
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2003-09-05 09:06:51 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2003-09-05 09:06:51 +0000
commit875ed3977b05f6719c542c7219029bccd62956ea (patch)
tree8f0cb542c275e14df9bfa80bd457de187c8593f6 /pop3d
parent24db754f6b80451244913c1f197d48220a6e1118 (diff)
downloadmailutils-875ed3977b05f6719c542c7219029bccd62956ea.tar.gz
mailutils-875ed3977b05f6719c542c7219029bccd62956ea.tar.bz2
Use mu_strerror.
Diffstat (limited to 'pop3d')
-rw-r--r--pop3d/popauth.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/pop3d/popauth.c b/pop3d/popauth.c
index 143050617..cef617794 100644
--- a/pop3d/popauth.c
+++ b/pop3d/popauth.c
@@ -209,7 +209,7 @@ check_user_perm (int action, struct action_data *ap)
if (mu_dbm_open (ap->input_name, &db, MU_STREAM_CREAT, 0600))
{
mu_error (_("can't create %s: %s"),
- ap->input_name, strerror (errno));
+ ap->input_name, mu_strerror (errno));
exit (1);
}
mu_dbm_close (db);
@@ -217,7 +217,7 @@ check_user_perm (int action, struct action_data *ap)
}
else
{
- mu_error (_("can't stat %s: %s"), ap->input_name, strerror (errno));
+ mu_error (_("can't stat %s: %s"), ap->input_name, mu_strerror (errno));
exit (1);
}
}
@@ -255,7 +255,7 @@ action_list (struct action_data *ap)
check_user_perm (ACT_LIST, ap);
if (mu_dbm_open (ap->input_name, &db, MU_STREAM_READ, 0600))
{
- mu_error (_("can't open %s: %s"), ap->input_name, strerror (errno));
+ mu_error (_("can't open %s: %s"), ap->input_name, mu_strerror (errno));
return 1;
}
@@ -264,7 +264,7 @@ action_list (struct action_data *ap)
fp = fopen (ap->output_name, "w");
if (!fp)
{
- mu_error (_("can't create %s: %s"), ap->output_name, strerror (errno));
+ mu_error (_("can't create %s: %s"), ap->output_name, mu_strerror (errno));
return 1;
}
}
@@ -326,7 +326,7 @@ action_create (struct action_data *ap)
fp = fopen (ap->input_name, "r");
if (!fp)
{
- mu_error (_("can't open %s: %s"), ap->input_name, strerror (errno));
+ mu_error (_("can't open %s: %s"), ap->input_name, mu_strerror (errno));
return 1;
}
}
@@ -340,7 +340,7 @@ action_create (struct action_data *ap)
ap->output_name = APOP_PASSFILE;
if (mu_dbm_open (ap->output_name, &db, MU_STREAM_CREAT, 0600))
{
- mu_error (_("can't create %s: %s"), ap->output_name, strerror (errno));
+ mu_error (_("can't create %s: %s"), ap->output_name, mu_strerror (errno));
return 1;
}
@@ -400,7 +400,7 @@ open_io (int action, struct action_data *ap, DBM_FILE *db, int *not_owner)
*not_owner = rc;
if (mu_dbm_open (ap->input_name, db, MU_STREAM_RDWR, 0600))
{
- mu_error (_("can't open %s: %s"), ap->input_name, strerror (errno));
+ mu_error (_("can't open %s: %s"), ap->input_name, mu_strerror (errno));
return 1;
}
return 0;

Return to:

Send suggestions and report system problems to the System administrator.