# HG changeset patch # User nenolod # Date 1163453787 28800 # Node ID e6992f15513a61309e56009c55ddd91eef502a79 # Parent d1600c7f479deb8bfad29508e13d472f51e706e0 [svn] - actually 210 and 211 can be treated the same. diff -r d1600c7f479d -r e6992f15513a ChangeLog --- 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 + 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 revision [502] - suppress compile time waring. diff -r d1600c7f479d -r e6992f15513a src/cdaudio/cddb.c --- 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);