X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/d8b76fa95c55331db4f475ee34caa7e8725ec421..dbab2d6f08acd5ccf71d5e8a6cdc1224ab857d7a:/src/src/string.c diff --git a/src/src/string.c b/src/src/string.c index 8ecbc0cd7..1e7922457 100644 --- a/src/src/string.c +++ b/src/src/string.c @@ -770,11 +770,11 @@ Arguments: Returns: pointer to substring in string, or NULL if not found */ -uschar * -strstric(uschar * s, uschar * t, BOOL space_follows) +const uschar * +strstric_c(const uschar * s, const uschar * t, BOOL space_follows) { -uschar * p = t; -uschar * yield = NULL; +const uschar * p = t; +const uschar * yield = NULL; int cl = tolower(*p); int cu = toupper(*p); @@ -805,6 +805,11 @@ while (*s) return NULL; } +uschar * +strstric(uschar * s, uschar * t, BOOL space_follows) +{ +return US strstric_c(s, t, space_follows); +} #ifdef COMPILE_UTILITY