Commit 188ef1a8 authored by Jeff Trawick's avatar Jeff Trawick
Browse files

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
parent 67e29a47
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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";
    }