aboutsummaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-04-23 13:30:06 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-04-23 13:30:06 +0100
commite4485c94737dd714e76a1de71adf86f08a158217 (patch)
tree2d65423caf7ce352cafaf47b1f6cf06f489bb2bc /src/client
parent3c31e3680e05ea7a449691956ff8c7c424eb9521 (diff)
downloadrspamd-e4485c94737dd714e76a1de71adf86f08a158217.tar.gz
rspamd-e4485c94737dd714e76a1de71adf86f08a158217.zip
Fix spaces formatting.
Diffstat (limited to 'src/client')
-rw-r--r--src/client/rspamc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/client/rspamc.c b/src/client/rspamc.c
index 65de5de48..e21430e98 100644
--- a/src/client/rspamc.c
+++ b/src/client/rspamc.c
@@ -520,13 +520,13 @@ rspamc_uptime_output (ucl_object_t *obj)
hours = seconds / 3600 - days * 24;
minutes = seconds / 60 - hours * 60 - days * 1440;
rspamd_printf ("%L day%s %L hour%s %L minute%s\n", days,
- days > 1 ? "s" : " ", hours, hours > 1 ? "s" : " ",
- minutes, minutes > 1 ? "s" : " ");
+ days > 1 ? "s" : "", hours, hours > 1 ? "s" : "",
+ minutes, minutes > 1 ? "s" : "");
}
/* If uptime is less than 1 minute print only seconds */
else if (seconds / 60 == 0) {
rspamd_printf ("%L second%s\n", (gint)seconds,
- (gint)seconds > 1 ? "s" : " ");
+ (gint)seconds > 1 ? "s" : "");
}
/* Else print the minutes and seconds. */
else {
@@ -534,9 +534,9 @@ rspamc_uptime_output (ucl_object_t *obj)
minutes = seconds / 60 - hours * 60;
seconds -= hours * 3600 + minutes * 60;
rspamd_printf ("%L hour%s %L minute%s %L second%s\n", hours,
- hours > 1 ? "s" : " ", minutes,
- minutes > 1 ? "s" : " ",
- seconds, seconds > 1 ? "s" : " ");
+ hours > 1 ? "s" : "", minutes,
+ minutes > 1 ? "s" : "",
+ seconds, seconds > 1 ? "s" : "");
}
}
}