summaryrefslogtreecommitdiff
path: root/src/spf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/spf.c')
-rw-r--r--src/spf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spf.c b/src/spf.c
index aec0bdc..29da3df 100644
--- a/src/spf.c
+++ b/src/spf.c
@@ -104,7 +104,7 @@ int spf_query(
if (!stralloc_copys(&domain, spfmf.s + at + 1)) return SPF_NOMEM;
} else {
// if (!stralloc_0(&spfhelo)) return SPF_NOMEM;
- if (!stralloc_copys(&domain, &spfhelo)) return SPF_NOMEM;
+ if (!stralloc_copy(&domain, &spfhelo)) return SPF_NOMEM;
}
if (!stralloc_copy(&identity, &domain)) return SPF_NOMEM;
}