summaryrefslogtreecommitdiff
path: root/pop3d/pop3d.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-08-25 10:31:59 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2009-08-25 10:31:59 +0300
commit8619a1cb3b5a4b84b365571b711cf792e12ab620 (patch)
tree2932c275c7d31826f79d5fef7ab962a4101819ff /pop3d/pop3d.c
parent0c606c74e0195d00bb1410114e7b871c08c2a7f0 (diff)
downloadmailutils-8619a1cb3b5a4b84b365571b711cf792e12ab620.tar.gz
mailutils-8619a1cb3b5a4b84b365571b711cf792e12ab620.tar.bz2
Change error messages to comply with the GNU standards.
The string MESSAGE should not begin with a capital letter when it follows a program name and/or file name, because that isn't the beginning of a sentence. (The sentence conceptually starts at the beginning of the line.) Also, it should not end with a period. * include/mailutils/diag.h (mu_diag_funcall): New prototype. * mailbox/diag.c: New function. * comsat/action.c, comsat/comsat.c, comsat/oldcfg.c, config/mailutils-config.c, configure.ac, dotlock/dotlock.c, frm/common.c, frm/from.c, guimb/collect.c, guimb/main.c, guimb/util.c, imap4d/auth_gsasl.c, imap4d/auth_gss.c, imap4d/bye.c, imap4d/close.c, imap4d/imap4d.c, imap4d/login.c, imap4d/preauth.c, imap4d/signal.c, imap4d/starttls.c, imap4d/util.c, lib/mailcap.c, lib/tcpwrap.c, libmu_argp/mu_argp.c, libmu_auth/ldap.c, libmu_auth/radius.c, libmu_auth/sql.c, libmu_auth/tls.c, libmu_cfg/acl.c, libmu_cfg/common.c, libmu_cfg/init.c, libmu_cfg/ldap.c, libmu_cfg/sql.c, libmu_sieve/actions.c, libmu_sieve/comparator.c, libmu_sieve/extensions/moderator.c, libmu_sieve/prog.c, libmu_sieve/sieve.l, libproto/imap/folder.c, libproto/mbox/mbox.c, maidag/deliver.c, maidag/lmtp.c, maidag/maidag.c, maidag/mailquota.c, maidag/mailtmp.c, maidag/script.c, mail/alias.c, mail/cd.c, mailbox/cfg_lexer.l, mailbox/cfg_parser.y, mailbox/file_stream.c, mailbox/gocs.c, mailbox/msrv.c, mailbox/mutil.c, mailbox/registrar.c, messages/messages.c, mh/folder.c, mh/forw.c, mh/inc.c, mh/mark.c, mh/mh_ctx.c, mh/mh_fmtgram.y, mh/mh_format.c, mh/mh_init.c, mh/mh_list.c, mh/mh_msgset.c, mh/mh_whatnow.c, mh/mh_whom.c, mh/mhl.c, mh/mhn.c, mh/pick.c, mh/refile.c, mh/repl.c, mh/rmf.c, mh/scan.c, mh/send.c, mimeview/mimetypes.l, mimeview/mimeview.c, movemail/movemail.c, pop3d/apop.c, pop3d/bulletin.c, pop3d/extra.c, pop3d/lock.c, pop3d/logindelay.c, pop3d/pop3d.c, pop3d/popauth.c, pop3d/quit.c, pop3d/signal.c, pop3d/user.c, readmsg/readmsg.c, sieve/sieve.c: Fix error messages.
Diffstat (limited to 'pop3d/pop3d.c')
-rw-r--r--pop3d/pop3d.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/pop3d/pop3d.c b/pop3d/pop3d.c
index 8b05ace34..9605ecb0d 100644
--- a/pop3d/pop3d.c
+++ b/pop3d/pop3d.c
@@ -256,12 +256,12 @@ pop3d_parse_opt (int key, char *arg, struct argp_state *astate)
int
pop3d_get_client_address (int fd, struct sockaddr_in *pcs)
{
- mu_diag_output (MU_DIAG_INFO, _("Incoming connection opened"));
+ mu_diag_output (MU_DIAG_INFO, _("incoming connection opened"));
/* log information on the connecting client. */
if (debug_mode)
{
- mu_diag_output (MU_DIAG_INFO, _("Started in debugging mode"));
+ mu_diag_output (MU_DIAG_INFO, _("started in debugging mode"));
return 1;
}
else
@@ -270,7 +270,7 @@ pop3d_get_client_address (int fd, struct sockaddr_in *pcs)
if (getpeername (fd, (struct sockaddr*) pcs, &len) < 0)
{
mu_diag_output (MU_DIAG_ERROR,
- _("Cannot obtain IP address of client: %s"),
+ _("cannot obtain IP address of client: %s"),
strerror (errno));
return 1;
}
@@ -454,12 +454,12 @@ main (int argc, char **argv)
{
if (errno == 0 || errno == ENOENT)
{
- mu_error (_("%s: No such group"), "mail");
+ mu_error (_("%s: no such group"), "mail");
exit (EX_CONFIG);
}
else
{
- mu_error (_("Error getting mail group: %s"),
+ mu_error (_("error getting mail group: %s"),
mu_strerror (errno));
exit (EX_OSERR);
}
@@ -467,7 +467,7 @@ main (int argc, char **argv)
if (setgid (gr->gr_gid) == -1)
{
- mu_error (_("Error setting mail group: %s"), mu_strerror (errno));
+ mu_error (_("error setting mail group: %s"), mu_strerror (errno));
exit (EX_OSERR);
}
}
@@ -517,7 +517,7 @@ main (int argc, char **argv)
}
if (status)
- mu_error (_("Main loop status: %s"), mu_strerror (status));
+ mu_error (_("main loop status: %s"), mu_strerror (status));
/* Close the syslog connection and exit. */
closelog ();
return status ? EX_SOFTWARE : EX_OK;

Return to:

Send suggestions and report system problems to the System administrator.