summaryrefslogtreecommitdiffstats
path: root/stream/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/url.c')
-rw-r--r--stream/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/url.c b/stream/url.c
index 7a7b407c15..c487045904 100644
--- a/stream/url.c
+++ b/stream/url.c
@@ -31,7 +31,7 @@ URL_t *url_redirect(URL_t **url, const char *redir) {
tmp = strstr(newurl, "://");
if (tmp) tmp = strchr(tmp + 3, '/');
} else
- tmp = strrchr(newurl, '/');
+ tmp = strrchr(newurl, '/');
if (tmp) tmp[1] = 0;
strcat(newurl, redir);
res = url_new(newurl);