Mercurial > audlegacy
changeset 2533:ab335d4391df trunk
[svn] - don't return a bogus vtable for an unregistered URI scheme
author | nenolod |
---|---|
date | Fri, 16 Feb 2007 18:27:31 -0800 |
parents | 9e135bfe457d |
children | c3d5ac206052 |
files | ChangeLog src/audacious/build_stamp.c src/audacious/vfs.c |
diffstat | 3 files changed, 19 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Fri Feb 16 04:21:17 2007 -0800 +++ b/ChangeLog Fri Feb 16 18:27:31 2007 -0800 @@ -1,3 +1,16 @@ +2007-02-16 12:21:17 +0000 Yoshiki Yazawa <yaz@cc.rim.or.jp> + revision [4074] + - include stdio.h for debug print out. + - suppress warnings. + + trunk/src/libid3tag/Makefile | 2 +- + trunk/src/libid3tag/field.c | 1 + + trunk/src/libid3tag/frame.c | 19 ++++++++++--------- + trunk/src/libid3tag/genre.c | 2 +- + trunk/src/libid3tag/tag.c | 2 +- + 5 files changed, 14 insertions(+), 12 deletions(-) + + 2007-02-16 03:31:14 +0000 William Pitcock <nenolod@sacredspiral.co.uk> revision [4072] - remove debugging notice
--- a/src/audacious/build_stamp.c Fri Feb 16 04:21:17 2007 -0800 +++ b/src/audacious/build_stamp.c Fri Feb 16 18:27:31 2007 -0800 @@ -1,2 +1,2 @@ #include <glib.h> -const gchar *svn_stamp = "20070216-4072"; +const gchar *svn_stamp = "20070216-4074";
--- a/src/audacious/vfs.c Fri Feb 16 04:21:17 2007 -0800 +++ b/src/audacious/vfs.c Fri Feb 16 18:27:31 2007 -0800 @@ -75,10 +75,13 @@ for (node = vfs_transports; node != NULL; node = g_list_next(node)) { - vtable = (VFSConstructor *) node->data; + VFSConstruct *vtptr = (VFSConstructor *) node->data; - if (!strncasecmp(decpath, vtable->uri_id, strlen(vtable->uri_id))) + if (!strncasecmp(decpath, vtptr->uri_id, strlen(vtptr->uri_id))) + { + vtable = vtptr; break; + } } /* no transport vtable has been registered, bail. */