From: Pieter Baauw Date: Sun, 16 Aug 2015 22:45:05 +0000 (+0200) Subject: MINOR cfgparse: Correct the mailer warning text to show the right names to the user X-Git-Tag: v1.6-dev4~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8669e971a3f16cae3c1d0e4b67abe4ad2ce82393;p=thirdparty%2Fhaproxy.git MINOR cfgparse: Correct the mailer warning text to show the right names to the user --- diff --git a/src/cfgparse.c b/src/cfgparse.c index b5747ad998..6e2bcd72eb 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -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;