summaryrefslogtreecommitdiff
path: root/comsat/comsat.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2003-03-10 13:43:13 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2003-03-10 13:43:13 +0000
commit1157f8276de4740fdfeaf9bff2e0f4ce8d67dc82 (patch)
treeaaa1a655700eab3f1092719375903b3b7fb9a52a /comsat/comsat.c
parentb77a771ca2eb7070dace50afbfed2b3f48e01e56 (diff)
downloadmailutils-1157f8276de4740fdfeaf9bff2e0f4ce8d67dc82.tar.gz
mailutils-1157f8276de4740fdfeaf9bff2e0f4ce8d67dc82.tar.bz2
use ngettext
Diffstat (limited to 'comsat/comsat.c')
-rw-r--r--comsat/comsat.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/comsat/comsat.c b/comsat/comsat.c
index 3de83973b..66949663a 100644
--- a/comsat/comsat.c
+++ b/comsat/comsat.c
@@ -286,7 +286,10 @@ comsat_daemon (int port)
unsigned delay;
delay = overflow_delay_time << (overflow_count + 1);
- syslog (LOG_NOTICE, _("too many requests: pausing for %u seconds"),
+ syslog (LOG_NOTICE,
+ ngettext ("too many requests: pausing for %u second",
+ "too many requests: pausing for %u seconds",
+ delay),
delay);
sleep (delay);
reqcount = 0;
@@ -344,7 +347,10 @@ comsat_main (int fd)
return 1;
}
- syslog (LOG_INFO, _("%d bytes from %s"), rdlen, inet_ntoa (sin_from.sin_addr));
+ syslog (LOG_INFO,
+ ngettext ("%d byte from %s",
+ "%d bytes from %s", rdlen),
+ rdlen, inet_ntoa (sin_from.sin_addr));
buffer[rdlen] = 0;

Return to:

Send suggestions and report system problems to the System administrator.