Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
1157f827
...
1157f8276de4740fdfeaf9bff2e0f4ce8d67dc82
authored
2003-03-10 13:43:13 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
use ngettext
1 parent
b77a771c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
comsat/comsat.c
comsat/comsat.c
View file @
1157f82
...
...
@@ -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
;
...
...
Please
register
or
sign in
to post a comment