diff src/dnsbl.h @ 187:f0eda59e8afd

fix null pointer dereference from missing HELO command
author carl
date Sat, 10 Nov 2007 10:20:54 -0800
parents 7a722f482bfb
children 004b855c6c1f
line wrap: on
line diff
--- a/src/dnsbl.h	Sat Nov 10 10:20:54 2007 -0800
+++ b/src/dnsbl.h	Sat Nov 10 10:20:54 2007 -0800
@@ -24,6 +24,8 @@
 //
 struct mlfiPriv
 {
+    // callback specific data
+    SMFICTX *ctx;                           // updated everytime we fetch this priv pointer from the ctx
 	// connection specific data
 	CONFIG	*pc;							// global filtering configuration
 	int 	fd; 							// to talk to dns resolver process