From ab75a2dbbdef4db00c32d193c7701daa4b29cb6a Mon Sep 17 00:00:00 2001 From: Nigel Metheringham Date: Wed, 11 Nov 2009 14:43:28 +0000 Subject: [PATCH] More signed/unsigned fixes. Need confirmation that this completely deals with bug. Related: #905 --- src/src/lookups/spf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/src/lookups/spf.c b/src/src/lookups/spf.c index 7f7b6f141..ee2a2c7b9 100644 --- a/src/src/lookups/spf.c +++ b/src/src/lookups/spf.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/lookups/spf.c,v 1.2 2005/06/27 18:01:02 tom Exp $ */ +/* $Cambridge: exim/src/src/lookups/spf.c,v 1.3 2009/11/11 14:43:28 nm4 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -59,11 +59,11 @@ int spf_find(void *handle, uschar *filename, uschar *keystring, int key_len, return FAIL; } - if (SPF_request_set_ipv4_str(spf_request, filename)) { + if (SPF_request_set_ipv4_str(spf_request, CS filename)) { *errmsg = string_sprintf("invalid IP address '%s'", filename); return FAIL; } - if (SPF_request_set_env_from(spf_request, keystring)) { + if (SPF_request_set_env_from(spf_request, CS keystring)) { *errmsg = string_sprintf("invalid envelope from address '%s'", keystring); return FAIL; } -- 2.25.1