summaryrefslogtreecommitdiff
path: root/uclient.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-03-22 00:56:16 +0100
committerFelix Fietkau <nbd@openwrt.org>2014-03-22 00:56:16 +0100
commit385651080cd88369ae4e71d8b80f5c0e4b952fd5 (patch)
treee0e4833065cfbc6b517ba2c37fa03ef39cb3eb6f /uclient.c
parent7e4054d4dbf48a9b6a3ff9fddbc4c5afc1836b71 (diff)
downloaduclient-385651080cd88369ae4e71d8b80f5c0e4b952fd5.tar.gz
fix double / on requests to root
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'uclient.c')
-rw-r--r--uclient.c2
1 files changed, 1 insertions, 1 deletions
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;