--------------------- PatchSet 8357 Date: 2006/07/08 10:40:49 Author: hno Branch: concurrency-2_6 Tag: (none) Log: Clean up the cachemgr config dump code for basic auth Members: src/auth/basic/auth_basic.c:1.24.16.1->1.24.16.2 Index: squid/src/auth/basic/auth_basic.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/auth/basic/auth_basic.c,v retrieving revision 1.24.16.1 retrieving revision 1.24.16.2 diff -u -r1.24.16.1 -r1.24.16.2 --- squid/src/auth/basic/auth_basic.c 7 Jul 2006 17:43:50 -0000 1.24.16.1 +++ squid/src/auth/basic/auth_basic.c 8 Jul 2006 10:40:49 -0000 1.24.16.2 @@ -313,14 +313,12 @@ storeAppendPrintf(entry, " %s", list->key); list = list->next; } - storeAppendPrintf(entry, "\n%s %s realm %s\n%s %s children %d\n%s %s concurrency %d\n%s %s credentialsttl %d seconds\n%s %s casesensitive %s\n%s %s blankpassword %s\n", - name, "basic", config->basicAuthRealm, - name, "basic", config->authenticateChildren, - name, "basic", config->authenticateConcurrency, - name, "basic", (int) config->credentialsTTL, - name, "basic", config->casesensitive ? "on" : "off", - name, "basic", config->blankpassword ? "on" : "off"); - + storeAppendPrintf(entry, "\n%s %s realm %s\n", name, "basic", config->basicAuthRealm); + storeAppendPrintf(entry, "%s %s children %d\n", name, "basic", config->authenticateChildren); + storeAppendPrintf(entry, "%s %s concurrency %d\n", name, "basic", config->authenticateConcurrency); + storeAppendPrintf(entry, "%s %s credentialsttl %d seconds\n", name, "basic", (int) config->credentialsTTL); + storeAppendPrintf(entry, "%s %s casesensitive %s\n", name, "basic", config->casesensitive ? "on" : "off"); + storeAppendPrintf(entry, "%s %s blankpassword %s\n", name, "basic", config->blankpassword ? "on" : "off"); } static void