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

Commit b26f9434 authored by Dan Austin's avatar Dan Austin Committed by android-build-merger
Browse files

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

am: b9693358

* commit 'b9693358':
  Address const issues in preparation for libcxx rebase.
parents abb3346d b9693358
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);