Move DKIM endif.
[exim.git] / src / src / acl.c
index eb21796104665914d954d0f9204bde085cfccbdf..1d5e0590dfbe012fca997c55047294255671c3e5 100644 (file)
@@ -3328,8 +3328,9 @@ for (; cb != NULL; cb = cb->next)
 
     #ifdef EXPERIMENTAL_DMARC
     case ACLC_DMARC_STATUS:
-    if (dmarc_has_been_checked++ == 0)
+    if (!dmarc_has_been_checked)
       dmarc_process();
+    dmarc_has_been_checked = TRUE;
     /* used long way of dmarc_exim_expand_query() in case we need more
      * view into the process in the future. */
     rc = match_isinlist(dmarc_exim_expand_query(DMARC_VERIFY_STATUS),