Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9693358 authored by Dan Austin's avatar Dan Austin Committed by Gerrit Code Review
Browse files

Merge "Address const issues in preparation for libcxx rebase."

parents cc50ea59 e15b5678
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -498,8 +498,8 @@ static bool MakeURL(const char *baseURL, const char *url, AString *out) {
    if (url[0] == '/') {
        // URL is an absolute path.

        char *protocolEnd = strstr(baseURL, "//") + 2;
        char *pathStart = strchr(protocolEnd, '/');
        const char *protocolEnd = strstr(baseURL, "//") + 2;
        const char *pathStart = strchr(protocolEnd, '/');

        if (pathStart != NULL) {
            out->setTo(baseURL, pathStart - baseURL);