]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[CLEANUP] config: remove some left-over printf debugging code from previous patch
authorWilly Tarreau <w@1wt.eu>
Tue, 14 Jun 2011 05:49:12 +0000 (07:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 14 Jun 2011 05:49:12 +0000 (07:49 +0200)
Last patch fbb784 unexpectedly left some debugging printf messages which can be
seen in debug mode.

src/cfgparse.c

index 40c46d50c8eedd7b833bef4a5a35bb4e9ba25fbe..7a572fbdf1362d557ec80d8365e6815b37eb44c0 100644 (file)
@@ -6523,13 +6523,10 @@ out_uri_auth_compat:
                                /* now we've checked all possible ways to reference a backend
                                 * from a frontend.
                                 */
-                               printf("%s checking %s : found=%d\n", curproxy->id, fe->id, found);
                                if (!found)
                                        continue;
                                total += fe->maxconn;
-                               printf("px %s adds %d to %s\n", fe->id, fe->maxconn, curproxy->id);
                        }
-                       printf("%s: total=%d\n", curproxy->id, total);
                        /* we have the sum of the maxconns in <total>. We only
                         * keep 10% of that sum to set the default fullconn, with
                         * a hard minimum of 1 (to avoid a divide by zero).