projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
http_file: allow zero size files (bug fix)
[metaproxy-moved-to-github.git]
/
src
/
util.cpp
diff --git
a/src/util.cpp
b/src/util.cpp
index
4d433a5
..
97b1125
100644
(file)
--- 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, '+');