summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-21 16:27:05 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-21 16:27:05 +0000
commitcb10c90e194355adf9f48498bf288ff637f79aec (patch)
treed9f989a88c4668a01b25317870bb0ded41901b41 /stream
parent1daf47f7d0f4af639559abdd7b62652faa0fcfcc (diff)
downloadmpv-cb10c90e194355adf9f48498bf288ff637f79aec.tar.bz2
mpv-cb10c90e194355adf9f48498bf288ff637f79aec.tar.xz
cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21142 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-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);