Browse Source

fix prefix id passing

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Felix Fietkau 10 năm trước cách đây
mục cha
commit
8bbe213089
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      uclient.c

+ 1 - 0
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);