mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 06:03:45 +01:00
cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21142 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1daf47f7d0
commit
cb10c90e19
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user