changeset 159:ea7c57a4a2d1 stable-6-01

add auto whitelisting
author carl
date Sun, 08 Jul 2007 11:57:51 -0700
parents ca4f178f9064
children b3ed72ee6564
files src/dnsbl.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dnsbl.cpp	Sun Jul 08 09:57:49 2007 -0700
+++ b/src/dnsbl.cpp	Sun Jul 08 11:57:51 2007 -0700
@@ -1029,7 +1029,7 @@
 		if (debug_syslog > 1) {
 			char buf[maxlen];
 			char msg[maxlen];
-			snprintf(msg, sizeof(msg), "whitelist reply from <%s> in context %s", loto, con.get_full_name(buf,maxlen));
+			snprintf(msg, sizeof(msg), "whitelist reply from <%s> in context %s", loto, con2.get_full_name(buf,maxlen));
 			my_syslog(&priv, msg);
 		}
 		w->sent(loto);	// don't free it, the whitelister takes ownership of the string