diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-03-25 10:14:57 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-03-25 10:14:57 +0100 |
commit | 8bbe2130890db78856bb5731fa3e16a71d549bfe (patch) | |
tree | 097ded6e3d1ee32e07653e8e4e572d7611ef93be /uclient.c | |
parent | 7e7fe908839199cb28613d1f57eaeecf7d735bd3 (diff) | |
download | uclient-8bbe2130890db78856bb5731fa3e16a71d549bfe.tar.gz |
fix prefix id passing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'uclient.c')
-rw-r--r-- | uclient.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |