diff src/audacious/vfs.c @ 2381:d49913587458 trunk

[svn] - changes to the nature of URI handling in the VFS subsystem, will be chased momentarily in plugins.
author nenolod
date Sun, 21 Jan 2007 20:45:17 -0800
parents e1513290ee3c
children 0fd7f4f969ad
line wrap: on
line diff
--- a/src/audacious/vfs.c	Sun Jan 21 07:11:08 2007 -0800
+++ b/src/audacious/vfs.c	Sun Jan 21 20:45:17 2007 -0800
@@ -71,7 +71,7 @@
     if (!path || !mode)
 	return NULL;
 
-    decpath = xmms_urldecode_plain(path);
+    decpath = g_strdup(path);
 
     for (node = vfs_transports; node != NULL; node = g_list_next(node))
     {
@@ -85,10 +85,7 @@
     if (vtable == NULL)
         return NULL;
 
-    if (strlen(vtable->uri_id) > 1)
-        file = vtable->vfs_fopen_impl(decpath + strlen(vtable->uri_id), mode);
-    else
-        file = vtable->vfs_fopen_impl(decpath, mode);
+    file = vtable->vfs_fopen_impl(decpath, mode);
 
     if (file == NULL)
         return NULL;