X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/67d81c106c8dd7da50b57eb5ceeb61d91a2c51e8..b1f8e4f8ec26ecb99e56a0ed3a5140b65ec95a97:/src/src/string.c diff --git a/src/src/string.c b/src/src/string.c index 0e73e2c79..94d61b1a3 100644 --- a/src/src/string.c +++ b/src/src/string.c @@ -34,7 +34,7 @@ Returns: 0 if the string is not a textual representation of an IP address */ int -string_is_ip_address(uschar *s, int *maskptr) +string_is_ip_address(const uschar *s, int *maskptr) { int i; int yield = 4; @@ -44,7 +44,7 @@ offset. */ if (maskptr != NULL) { - uschar *ss = s + Ustrlen(s); + const uschar *ss = s + Ustrlen(s); *maskptr = 0; if (s != ss && isdigit(*(--ss))) {