changeset 980:e91c1b844421 trunk

[svn] - Another CDDB fix! :/
author nhjm449
date Thu, 27 Apr 2006 15:52:06 -0700
parents 9c6797f14602
children 00e3b13188c1
files Plugins/Input/cdaudio/cddb.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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);