summaryrefslogtreecommitdiffstats
path: root/rfc1035/spf.c
diff options
context:
space:
mode:
Diffstat (limited to 'rfc1035/spf.c')
-rw-r--r--rfc1035/spf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rfc1035/spf.c b/rfc1035/spf.c
index d2d2e8e..f811aad 100644
--- a/rfc1035/spf.c
+++ b/rfc1035/spf.c
@@ -914,7 +914,8 @@ static char mechanism(const char *name,
domain_spec, RFC1035_MX_QUERYALL,
&mxlist);
free(domain_spec);
- if (rc)
+
+ if (rc && rc != RFC1035_MX_HARDERR)
{
rfc1035_mxlist_free(mxlist);
set_err_msg(info->errmsg_buf, info->errmsg_buf_size,