projects
/
oweals
/
uclient.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e7fe90
)
fix prefix id passing
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 25 Mar 2014 09:14:57 +0000
(10:14 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 25 Mar 2014 09:14:57 +0000
(10:14 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
uclient.c
patch
|
blob
|
history
diff --git
a/uclient.c
b/uclient.c
index f5e9c51ed61b983769bfa66d7485f00e943e55ff..4c85e800cd30de398c15ed2104fc20b24b4e4495 100644
(file)
--- a/
uclient.c
+++ b/
uclient.c
@@
-54,6
+54,7
@@
uclient_get_url(const char *url_str, const char *auth_str)
url->backend = backend;
url->location = strcpy(uri_buf, location);
+ url->prefix = prefix - backend->prefix;
url->host = strncpy(host_buf, url_str, host_len);