]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR cfgparse: Correct the mailer warning text to show the right names to the user
authorPieter Baauw <piba.nl.dev@gmail.com>
Sun, 16 Aug 2015 22:45:05 +0000 (00:45 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 24 Aug 2015 19:59:39 +0000 (21:59 +0200)
src/cfgparse.c

index b5747ad998fa8708e40550babb3c770f3716c4e3..6e2bcd72eb748adca57b2fad286aaa2b0e3063fe 100644 (file)
@@ -7308,9 +7308,9 @@ int check_config_validity()
                if (curproxy->email_alert.set) {
                    if (!(curproxy->email_alert.mailers.name && curproxy->email_alert.from && curproxy->email_alert.to)) {
                            Warning("config : 'email-alert' will be ignored for %s '%s' (the presence any of "
-                                   "'email-alert from', 'email-alert level' 'email-alert mailer', "
-                                   "'email-alert hostname', or 'email-alert to' "
-                                   "requrires each of 'email-alert from', 'email-alert mailer' and 'email-alert' "
+                                   "'email-alert from', 'email-alert level' 'email-alert mailers', "
+                                   "'email-alert myhostname', or 'email-alert to' "
+                                   "requires each of 'email-alert from', 'email-alert mailers' and 'email-alert to' "
                                    "to be present).\n",
                                    proxy_type_str(curproxy), curproxy->id);
                            err_code |= ERR_WARN;