[CLEANUP] give a little bit more information in error message

Indicate the error is about redirection.
This commit is contained in:
Jeffrey 'jf' Lim 2009-04-02 21:53:56 +08:00 committed by Willy Tarreau
parent 1772ece025
commit af403fc59d

View File

@ -1403,7 +1403,7 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int inv)
}
if ((cond = parse_acl_cond((const char **)args + cur_arg, &curproxy->acl, pol)) == NULL) {
Alert("parsing [%s:%d] : '%s': error detected while parsing condition.\n",
Alert("parsing [%s:%d] : '%s': error detected while parsing redirect condition.\n",
file, linenum, args[0]);
return -1;
}