summaryrefslogtreecommitdiffstats
path: root/rfc1035/testlookup.c
diff options
context:
space:
mode:
authorSam Varshavchik2014-11-05 21:56:15 -0500
committerSam Varshavchik2014-11-05 21:56:15 -0500
commit0d35e591d4b01e78e85486ed3c03b45586d64e18 (patch)
tree4afa1eff32725f5a5db7ad06e1bc135fc8d2985c /rfc1035/testlookup.c
parentfd405a94770d5a1fa26b2cd2712f0d3e9fb7448c (diff)
downloadcourier-libs-0d35e591d4b01e78e85486ed3c03b45586d64e18.tar.bz2
Implement support for SPF records with multiple strings.
Diffstat (limited to 'rfc1035/testlookup.c')
-rw-r--r--rfc1035/testlookup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rfc1035/testlookup.c b/rfc1035/testlookup.c
index 6ee7c61..657bf33 100644
--- a/rfc1035/testlookup.c
+++ b/rfc1035/testlookup.c
@@ -44,9 +44,9 @@ extern char rfc1035_spf_gettxt(const char *current_domain,
static void spflookup(const char *current_domain)
{
- char buf[256];
+ char *buf;
- switch (rfc1035_spf_gettxt(current_domain, buf)) {
+ switch (rfc1035_spf_gettxt_n(current_domain, &buf)) {
case SPF_NONE:
printf("none\n");
return;