summaryrefslogtreecommitdiffstats
path: root/rfc1035/testlookup.c
diff options
context:
space:
mode:
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;