summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNigel Metheringham <nigel@exim.org>2009-11-11 14:43:28 +0000
committerNigel Metheringham <nigel@exim.org>2009-11-11 14:43:28 +0000
commitab75a2dbbdef4db00c32d193c7701daa4b29cb6a (patch)
tree9d27a9e7c70c044bb187051bc211d6fd6f56c763
parent7156b1ef48de59429a3d81d966ef151edc1c01ad (diff)
More signed/unsigned fixes. Need confirmation that this completely deals with bug. Related: #905
-rw-r--r--src/src/lookups/spf.c6
1 files 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;
}