# HG changeset patch # User nhjm449 # Date 1146178326 25200 # Node ID e91c1b84442102355e38f02e050a75992b4e0f99 # Parent 9c6797f1460298774b732c037b0cecd445311dca [svn] - Another CDDB fix! :/ diff -r 9c6797f14602 -r e91c1b844421 Plugins/Input/cdaudio/cddb.c --- a/Plugins/Input/cdaudio/cddb.c Thu Apr 27 08:06:57 2006 -0700 +++ b/Plugins/Input/cdaudio/cddb.c Thu Apr 27 15:52:06 2006 -0700 @@ -221,11 +221,11 @@ return FALSE; } } - cddb_info->category = g_strdup(response[0]); - cddb_info->discid = strtoul(response[1], NULL, 16); + cddb_info->category = g_strdup(response[1]); + cddb_info->discid = strtoul(response[2], NULL, 16); break; - case 211: - /* multiple matches - use first match */ + case 211: + /* multiple matches - use first match */ g_strfreev(response); if (http_read_first_line(sock, buffer, 256) < 0) { http_close_connection(sock);