From af403fc59d7a0389005f019a440bf18ccff83348 Mon Sep 17 00:00:00 2001 From: Jeffrey 'jf' Lim Date: Thu, 2 Apr 2009 21:53:56 +0800 Subject: [PATCH] [CLEANUP] give a little bit more information in error message Indicate the error is about redirection. --- src/cfgparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cfgparse.c b/src/cfgparse.c index 8839e85ea..46cc1a66f 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -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; }