diff src/dnsbl.cpp @ 187:f0eda59e8afd

fix null pointer dereference from missing HELO command
author carl
date Sat, 10 Nov 2007 10:20:54 -0800
parents 2a80c9b5d2c9
children edcefdb7ccc1
line wrap: on
line diff
--- a/src/dnsbl.cpp	Sat Nov 10 10:20:54 2007 -0800
+++ b/src/dnsbl.cpp	Sat Nov 10 10:20:54 2007 -0800
@@ -429,7 +429,7 @@
 mlfiPriv* fetch_priv_from_ctx(SMFICTX *ctx)
 {
     mlfiPriv *priv = (struct mlfiPriv *)smfi_getpriv(ctx);
-    priv.ctx = ctx;
+    priv->ctx = ctx;
     return priv;
 }
 #define MLFIPRIV    fetch_priv_from_ctx(ctx)