aboutsummaryrefslogtreecommitdiffstats
path: root/mail/libspf/files
diff options
context:
space:
mode:
Diffstat (limited to 'mail/libspf/files')
-rw-r--r--mail/libspf/files/patch-src_libspf_main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/libspf/files/patch-src_libspf_main.c b/mail/libspf/files/patch-src_libspf_main.c
new file mode 100644
index 000000000000..4c5eaf80ac97
--- /dev/null
+++ b/mail/libspf/files/patch-src_libspf_main.c
@@ -0,0 +1,11 @@
+--- src/libspf/main.c.orig Thu Jul 28 17:23:42 2005
++++ src/libspf/main.c Thu Jul 28 17:24:11 2005
+@@ -1683,7 +1683,7 @@
+ xfree(p->from);
+ }
+
+- if (p->spf_rlevel > 0)
++ if (p->spf_rlevel > 0 && p->current_domain != p->original_domain)
+ {
+ xfree(p->current_domain);
+ }