From 385651080cd88369ae4e71d8b80f5c0e4b952fd5 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 22 Mar 2014 00:56:16 +0100 Subject: [PATCH] fix double / on requests to root Signed-off-by: Felix Fietkau --- uclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.0