From 8bbe2130890db78856bb5731fa3e16a71d549bfe Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 25 Mar 2014 10:14:57 +0100 Subject: [PATCH] fix prefix id passing Signed-off-by: Felix Fietkau --- uclient.c | 1 + 1 file changed, 1 insertion(+) diff --git a/uclient.c b/uclient.c index f5e9c51..4c85e80 100644 --- 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); -- 2.11.0