was just looking through the source, and noticed this... :)
===
--- haproxy-1.3.15.4/src/cfgparse.c 2008-09-15 00:42:28.000000000 +0800
+++ ha-mod/src/cfgparse.c 2008-10-04 11:35:50.000000000 +0800
@@ -1474,7 +1474,7 @@
if (warnifnotcap(curproxy, PR_CAP_BE, file, linenum,
args[0], NULL))
return 0;
- memcpy(trash, "error near 'balance'", 19);
+ memcpy(trash, "error near 'balance'", 21);
if (backend_parse_balance((const char **)args + 1,
trash, sizeof(trash), curproxy) < 0) {
Alert("parsing [%s:%d] : %s\n", file, linenum, trash);
return -1;
-jf
--
In the meantime, here is your PSA:
"It's so hard to write a graphics driver that open-sourcing it would not help."
-- Andrew Fear, Software Product Manager, NVIDIA Corporation
http://kerneltrap.org/node/7228
Received on 2008/10/04 12:07
This archive was generated by hypermail 2.2.0 : 2008/10/04 12:15 CEST