X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fspf.c;h=9ab56af23516ee6f75ccd56a05061ed7dc32ce87;hb=b7d3afcfad94edf99a8dbc50ab670ded417e6bea;hp=0f215e3b5b6511ba56ff168c572cebf254d83571;hpb=982650eceba2e54d2022f92b142b85fa083d3d13;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/spf.c b/src/src/spf.c index 0f215e3b5..9ab56af23 100644 --- a/src/src/spf.c +++ b/src/src/spf.c @@ -3,8 +3,10 @@ *************************************************/ /* Experimental SPF support. - Copyright (c) Tom Kistner 2004 - License: GPL */ + Copyright (c) Tom Kistner 2004 - 2014 + License: GPL + Copyright (c) The Exim Maintainers 2016 +*/ /* Code for calling spf checks via libspf-alt. Called from acl.c. */ @@ -74,9 +76,9 @@ int spf_init(uschar *spf_helo_domain, uschar *spf_remote_addr) { context (if any), retrieves the result, sets up expansion strings and evaluates the condition outcome. */ -int spf_process(uschar **listptr, uschar *spf_envelope_sender, int action) { +int spf_process(const uschar **listptr, uschar *spf_envelope_sender, int action) { int sep = 0; - uschar *list = *listptr; + const uschar *list = *listptr; uschar *spf_result_id; uschar spf_result_id_buffer[128]; int rc = SPF_RESULT_PERMERROR;