Mercurial > audlegacy-plugins
changeset 244:e6992f15513a trunk
[svn] - actually 210 and 211 can be treated the same.
author | nenolod |
---|---|
date | Mon, 13 Nov 2006 13:36:27 -0800 |
parents | d1600c7f479d |
children | d58221dfced1 |
files | ChangeLog src/cdaudio/cddb.c |
diffstat | 2 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Nov 13 13:25:21 2006 -0800 +++ b/ChangeLog Mon Nov 13 13:36:27 2006 -0800 @@ -1,3 +1,11 @@ +2006-11-13 21:25:21 +0000 William Pitcock <nenolod@nenolod.net> + revision [504] + - fix CDDB bug where exact matches are found, treat it like a 200 OK response. + + trunk/src/cdaudio/cddb.c | 1 + + 1 file changed, 1 insertion(+) + + 2006-11-13 14:27:29 +0000 Yoshiki Yazawa <yaz@cc.rim.or.jp> revision [502] - suppress compile time waring.
--- a/src/cdaudio/cddb.c Mon Nov 13 13:25:21 2006 -0800 +++ b/src/cdaudio/cddb.c Mon Nov 13 13:36:27 2006 -0800 @@ -214,7 +214,6 @@ switch (strtol(response[0], NULL, 10)) { case 200: - case 210: /* One exact match */ for (i = 0; i < 4; i++) { if (response[i] == NULL) { @@ -225,6 +224,7 @@ cddb_info->category = g_strdup(response[1]); cddb_info->discid = strtoul(response[2], NULL, 16); break; + case 210: case 211: /* multiple matches - use first match */ g_strfreev(response);