X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Futil.cpp;fp=src%2Futil.cpp;h=97b11257c02be5c75f3097bb613a6233aaee4e75;hb=c82f33874743548147f485752d0441a0691624ce;hp=4d433a5e2d2f91da61248bef04c267a306926436;hpb=b9e8337ac04be2e5fb43c9256aafdb1a4a9c8725;p=metaproxy-moved-to-github.git diff --git a/src/util.cpp b/src/util.cpp index 4d433a5..97b1125 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -414,7 +414,7 @@ void mp_util::split_zurl(std::string zurl, std::string &host, { host = std::string(zurl_cstr, args - zurl_cstr); - const char *cp1 = args + 1; + const char *cp1 = args; while (1) { const char *cp2 = strchr(cp1, '+');