#include "uclient-utils.h"
#include "uclient-backend.h"
-struct uclient_url * __hidden
+struct uclient_url __hidden *
uclient_get_url(const char *url_str, const char *auth_str)
{
static const struct uclient_backend *backends[] = {
url->backend = backend;
url->location = strcpy(uri_buf, location);
+ url->prefix = prefix - backend->prefix;
url->host = strncpy(host_buf, url_str, host_len);