summaryrefslogtreecommitdiffabout
path: root/src/comp.c
authorSergey Poznyakoff <gray@gnu.org.ua>2016-02-23 09:36:33 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2016-02-23 10:25:47 (GMT)
commit6e73a7b0822d1fd506c75a662070f447bba94afb (patch) (side-by-side diff)
treee121c440aff73316cb43ec05295e2c32492bf5dc /src/comp.c
parent584266f8215d913ce0c226f63da51c77d1074f09 (diff)
downloadpies-6e73a7b0822d1fd506c75a662070f447bba94afb.tar.gz
pies-6e73a7b0822d1fd506c75a662070f447bba94afb.tar.bz2
Improve logging
* po/POTFILES.in: Add missing source files. * grecs: Upgrade. * src/diag.c (pies_diag_printer): New function. (logfuncall): New function. * src/pies.h: Add new prototypes. * src/pies.c (main): Initialize grecs_print_diag_fun * src/acl.c: Uniformly use double-quotes in messages. Use logfuncall where applicable. * src/comp.c: Likewise. * src/ctl.c: Likewise. * src/inetd-bi.c: Likewise. * src/inetd.c: Likewise. * src/limits.c: Likewise. * src/piesctl.c: Likewise. * src/progman.c: Likewise. * src/socket.c: Likewise. * src/sysvinit.c: Likewise.
Diffstat (limited to 'src/comp.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/comp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/comp.c b/src/comp.c
index 43772c2..7babae7 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -540,7 +540,7 @@ component_verify (struct component *comp, grecs_locus_t *locus)
if (!comp->service)
/* TRANSLATORS: do not translate quoted words, they are keywords. */
COMPERR (grecs_error,
- "%s", _("`internal' used without `service'"));
+ "%s", _("\"internal\" used without \"service\""));
else
{
comp->builtin = inetd_builtin_lookup (comp->service,
@@ -552,7 +552,7 @@ component_verify (struct component *comp, grecs_locus_t *locus)
/* TRANSLATORS: do not translate quoted words, they are
keywords. */
COMPERR (grecs_error,
- "%s", _("`internal' used with `command'"));
+ "%s", _("\"internal\" used with \"command\""));
}
}
else if (!comp->argv)
@@ -565,11 +565,11 @@ component_verify (struct component *comp, grecs_locus_t *locus)
if ((comp->flags & (CF_TCPMUX | CF_TCPMUXPLUS))
== (CF_TCPMUX | CF_TCPMUXPLUS))
COMPERR (grecs_error,
- "%s", _("both `tcpmux' and `tcpmuxplus' used"));
+ "%s", _("both \"tcpmux\" and \"tcpmuxplus\" used"));
else if (!comp->service)
/* TRANSLATORS: do not translate quoted words, they are keywords. */
COMPERR (grecs_error,
- "%s", _("`internal' used without `service'"));
+ "%s", _("\"internal\" used without \"service\""));
}
if (comp->pass_fd_socket && comp->mode != pies_comp_pass_fd)
@@ -660,7 +660,7 @@ component_verify (struct component *comp, grecs_locus_t *locus)
&& comp->redir[RETR_OUT].type != redir_null)
{
COMPERR (grecs_error,
- "%s", _("stdout translation invalid in this mode"));
+ "%s", _("stdout redirection invalid in this mode"));
comp->redir[RETR_OUT].type = redir_null;
}

Return to:

Send suggestions and report system problems to the System administrator.