X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/5a66c31b0ec1f4128df4398e18dfe497c2a34de7..a5ffa9b475a426bc73366db01f7cc92a3811bc3a:/src/src/spf.c?ds=sidebyside diff --git a/src/src/spf.c b/src/src/spf.c index 7167f5778..9ab56af23 100644 --- a/src/src/spf.c +++ b/src/src/spf.c @@ -4,7 +4,9 @@ /* Experimental SPF support. Copyright (c) Tom Kistner 2004 - 2014 - License: GPL */ + 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;