openbsd-ports/mail/libspf2/patches/patch-src_libspf2_spf_response_c
okan 1031a7b791 import libspf2
libspf2 is an implementation of the Sender Policy Framework (SPF).

ok jakob@ merdely@
2008-01-30 15:58:49 +00:00

14 lines
407 B
Plaintext

$OpenBSD: patch-src_libspf2_spf_response_c,v 1.1.1.1 2008/01/30 15:58:50 okan Exp $
--- src/libspf2/spf_response.c.orig Tue Oct 19 10:05:19 2004
+++ src/libspf2/spf_response.c Wed Dec 12 11:12:05 2007
@@ -132,6 +132,9 @@ SPF_response_combine(SPF_response_t *main, SPF_respons
SPF_result_t
SPF_response_result(SPF_response_t *rp)
{
+ if (rp == NULL)
+ return SPF_RESULT_NONE;
+
return rp->result;
}