comparison src/context.cpp @ 82:fa47e1e401f1

start coding on new config syntax
author carl
date Sun, 17 Jul 2005 07:46:11 -0700
parents 091d3fe3db46
children c1280cd3e248
comparison
equal deleted inserted replaced
81:db85c53e3d90 82:fa47e1e401f1
157 tag_limit_message = NULL; 157 tag_limit_message = NULL;
158 } 158 }
159 159
160 160
161 CONTEXT::~CONTEXT() { 161 CONTEXT::~CONTEXT() {
162 if (debug_syslog) {
163 char buf[maxlen];
164 char msg[maxlen];
165 snprintf(msg, maxlen, "context::~context %s destructor", get_full_name(buf,maxlen));
166 my_syslog(msg);
167 }
168 for (dnsblp_map::iterator i=dnsbl_names.begin(); i!=dnsbl_names.end(); i++) { 162 for (dnsblp_map::iterator i=dnsbl_names.begin(); i!=dnsbl_names.end(); i++) {
169 DNSBLP d = (*i).second; 163 DNSBLP d = (*i).second;
170 // delete the underlying DNSBL objects. 164 // delete the underlying DNSBL objects.
171 delete d; 165 delete d;
172 } 166 }