summaryrefslogtreecommitdiff
path: root/comsat/cfg.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2005-01-04 17:16:42 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2005-01-04 17:16:42 +0000
commitd56fde2d16113fa30b68379d40c4087cf2fd84e5 (patch)
tree1a1d1a4d5c84342ba9dd05026f6e22dc7a869602 /comsat/cfg.c
parentbd178bb676dcbb88aacd25293ebb7c098be98a31 (diff)
downloadmailutils-d56fde2d16113fa30b68379d40c4087cf2fd84e5.tar.gz
mailutils-d56fde2d16113fa30b68379d40c4087cf2fd84e5.tar.bz2
Revise error messages for accordance with GNU standards:
begin messages with a capital letter, unless they are prefixed with `file:line:' or their exact look is important due to compatibility reasons. Do not end messages with a period. Avoid using contracted negations.
Diffstat (limited to 'comsat/cfg.c')
-rw-r--r--comsat/cfg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/comsat/cfg.c b/comsat/cfg.c
index 2a1649cda..eaa65a3a7 100644
--- a/comsat/cfg.c
+++ b/comsat/cfg.c
@@ -111,7 +111,7 @@ netdef_parse (char *str)
netdef = malloc (sizeof *netdef);
if (!netdef)
{
- syslog (LOG_ERR, _("out of memory"));
+ syslog (LOG_ERR, _("Out of memory"));
exit (1);
}
@@ -136,7 +136,7 @@ read_config (const char *config_file)
fp = fopen (config_file, "r");
if (!fp)
{
- syslog (LOG_ERR, _("can't open config file %s: %m"), config_file);
+ syslog (LOG_ERR, _("Cannot open config file %s: %m"), config_file);
return;
}
@@ -206,7 +206,7 @@ read_config (const char *config_file)
netdef_t *cur = netdef_parse (argv[i]);
if (!cur)
{
- syslog (LOG_ERR, _("%s:%d: can't parse netdef: %s"),
+ syslog (LOG_ERR, _("%s:%d: cannot parse netdef: %s"),
config_file, line, argv[i]);
continue;
}
@@ -222,7 +222,7 @@ read_config (const char *config_file)
acl = malloc (sizeof *acl);
if (!acl)
{
- syslog (LOG_CRIT, _("out of memory"));
+ syslog (LOG_CRIT, _("Out of memory"));
exit (1);
}
acl->next = NULL;

Return to:

Send suggestions and report system problems to the System administrator.