cosmetics

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21142 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2006-11-21 16:27:05 +00:00
parent 1daf47f7d0
commit cb10c90e19
1 changed files with 1 additions and 1 deletions

View File

@ -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);