From b65e0335d988f80e4e93f31f7331fb74db1f07b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyril=20Bont=C3=A9?= Date: Fri, 4 Dec 2015 03:07:08 +0100 Subject: [PATCH] BUG/MINOR: checks: typo in an email-alert error message When the email alert message couldn't be formatted, the logged error message said the contrary. This fix must be backported to 1.6. --- src/checks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/checks.c b/src/checks.c index e77926ac3..bc7eaa7eb 100644 --- a/src/checks.c +++ b/src/checks.c @@ -3342,7 +3342,7 @@ void send_email_alert(struct server *s, int level, const char *format, ...) va_end(argp); if (len < 0) { - Alert("Email alert [%s] could format message\n", p->id); + Alert("Email alert [%s] could not format message\n", p->id); return; }