From: Felix Fietkau Date: Fri, 21 Mar 2014 23:56:16 +0000 (+0100) Subject: fix double / on requests to root X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=385651080cd88369ae4e71d8b80f5c0e4b952fd5;p=oweals%2Fuclient.git fix double / on requests to root Signed-off-by: Felix Fietkau --- diff --git a/uclient.c b/uclient.c index 5f27ec9..095fc93 100644 --- a/uclient.c +++ b/uclient.c @@ -45,7 +45,7 @@ static struct uclient_url *uclient_get_url(const char *url_str) *next = 0; url->location = next + 1; } else { - url->location = "/"; + url->location = ""; } url->host = url_buf;