From 60d30d560235ffda211a744b9f1bc9d635466000 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Thu, 16 Aug 2001 10:48:53 +0000 Subject: [PATCH] can't pass const char * to ap_strchr() (note that when AP_DEBUG is on, strchr() maps to ap_strchr() so we find abuses of the broken strchr() interface) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90211 13f79535-47bb-0310-9956-ffa450edef68 --- modules/metadata/mod_usertrack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/metadata/mod_usertrack.c b/modules/metadata/mod_usertrack.c index b23a80b87d..acbcb78396 100644 --- a/modules/metadata/mod_usertrack.c +++ b/modules/metadata/mod_usertrack.c @@ -365,7 +365,7 @@ static const char *set_cookie_domain(cmd_parms *cmd, void *mconfig, if (name[0] != '.') { return "CookieDomain values must begin with a dot"; } - if (strchr(&name[1], '.') == NULL) { + if (ap_strchr_c(&name[1], '.') == NULL) { return "CookieDomain values must contain at least one embedded dot"; } -- 2.40.0