diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-06-17 17:07:36 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-06-17 17:07:36 +0400 |
commit | f8d1e84d304a06834cc508c8235078a15640ab7c (patch) | |
tree | 4a7a8ce643b521f7f099a41c46fac60022f8fb37 | |
parent | dc055d8a9eb84f62eddb4ac4a9631f80aa658085 (diff) | |
download | rspamd-f8d1e84d304a06834cc508c8235078a15640ab7c.tar.gz rspamd-f8d1e84d304a06834cc508c8235078a15640ab7c.zip |
* Fix misprint (by Andrej Zverev)
-rw-r--r-- | src/controller.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller.c b/src/controller.c index 236c3eca9..e1472f0cf 100644 --- a/src/controller.c +++ b/src/controller.c @@ -464,7 +464,7 @@ process_command (struct controller_command *cmd, char **cmd_args, struct control hours = uptime / 3600; minutes = uptime / 60 - hours * 60; uptime -= hours * 3600 + minutes * 60; - r = snprintf (out_buf, sizeof (out_buf), "%d hour%s %d minite%s %d second%s" CRLF, hours, hours > 1 ? "s" : " ", minutes, minutes > 1 ? "s" : " ", (int)uptime, uptime > 1 ? "s" : " "); + r = snprintf (out_buf, sizeof (out_buf), "%d hour%s %d minute%s %d second%s" CRLF, hours, hours > 1 ? "s" : " ", minutes, minutes > 1 ? "s" : " ", (int)uptime, uptime > 1 ? "s" : " "); } rspamd_dispatcher_write (session->dispatcher, out_buf, r, FALSE, FALSE); } |