SPF: split library init from per-connection init
[exim.git] / src / src / smtp_in.c
index 24978c86cfc117873ba86a8abde980da7f679f13..257c33de1dfd809b27f6a1bd0cf11579eaae0d4b 100644 (file)
@@ -4191,7 +4191,7 @@ while (done <= 0)
 
 #ifdef SUPPORT_SPF
       /* set up SPF context */
-      spf_init(sender_helo_name, sender_host_address);
+      spf_conn_init(sender_helo_name, sender_host_address);
 #endif
 
       /* Apply an ACL check if one is defined; afterwards, recheck