]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: checks: typo in an email-alert error message
authorCyril Bonté <cyril.bonte@free.fr>
Fri, 4 Dec 2015 02:07:08 +0000 (03:07 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 4 Dec 2015 05:09:30 +0000 (06:09 +0100)
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

index e77926ac3df7104b4649d0ce54c3711720b3b64f..bc7eaa7eb22f6adb7e813c9c689d577135e2e842 100644 (file)
@@ -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;
        }