]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[CLEANUP] give a little bit more information in error message
authorJeffrey 'jf' Lim <jfs.world@gmail.com>
Thu, 2 Apr 2009 13:53:56 +0000 (21:53 +0800)
committerWilly Tarreau <w@1wt.eu>
Fri, 3 Apr 2009 13:01:48 +0000 (15:01 +0200)
Indicate the error is about redirection.

src/cfgparse.c

index 8839e85ead515da8f2815ae92940ac06bb817927..46cc1a66fab4c7fb3480b46a79d1e7ad683a8dcf 100644 (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;
                }