Mercurial > audlegacy
changeset 3144:2812140dba3f trunk
Backed out changeset 4673533d7cc3
it was useless because the mimetype overrides it anyway
author | Cristi Magherusan <majeru@atheme-project.org> |
---|---|
date | Sun, 22 Jul 2007 14:16:19 +0300 |
parents | 34b4b7c9bcd4 |
children | 0aaad77951c7 |
files | src/audacious/input.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/input.c Sun Jul 22 14:03:17 2007 +0300 +++ b/src/audacious/input.c Sun Jul 22 14:16:19 2007 +0300 @@ -364,12 +364,11 @@ filename_proxy = g_strdup(filename); /* Some URIs will end in ?<subsong> to determine the subsong requested. */ - /* other streams (like lastfm's) end in ?Session=<session>*/ tmp_uri = g_strdup(filename); tmp = strrchr(tmp_uri, '?'); - if (tmp != NULL && (g_ascii_isdigit(*(tmp + 1))|| !g_strncasecmp(tmp+1,"Session=",8))) + if (tmp != NULL && g_ascii_isdigit(*(tmp + 1))) *tmp = '\0'; fd = vfs_buffered_file_new_from_uri(tmp_uri);