comparison src/context.cpp @ 274:bdcf203e3f7b stable-6-0-36

fix -c printing config
author Carl Byington <carl@five-ten-sg.com>
date Mon, 09 Sep 2013 20:01:17 -0700
parents a99b6c1f5f67
children 368572c57013
comparison
equal deleted inserted replaced
273:c72e94a25a77 274:bdcf203e3f7b
1118 printf("%s ", indent); 1118 printf("%s ", indent);
1119 for (string_set::iterator i=content_tlds.begin(); i!=content_tlds.end(); i++) { 1119 for (string_set::iterator i=content_tlds.begin(); i!=content_tlds.end(); i++) {
1120 printf("%s; ", *i); 1120 printf("%s; ", *i);
1121 } 1121 }
1122 for (string_set::iterator i=content_tldwilds.begin(); i!=content_tldwilds.end(); i++) { 1122 for (string_set::iterator i=content_tldwilds.begin(); i!=content_tldwilds.end(); i++) {
1123 printf("*%s; ", *i); 1123 printf("*.%s; ", *i);
1124 } 1124 }
1125 for (string_set::iterator i=content_tldnots.begin(); i!=content_tldnots.end(); i++) { 1125 for (string_set::iterator i=content_tldnots.begin(); i!=content_tldnots.end(); i++) {
1126 printf("!%s; ", *i); 1126 printf("!%s; ", *i);
1127 } 1127 }
1128 printf("\n%s }; \n", indent); 1128 printf("\n%s }; \n", indent);