$NetBSD: patch-aa,v 1.1 2004/08/25 22:06:40 markd Exp $ --- examples/getalbum.c.orig 2004-08-26 09:42:15.000000000 +1200 +++ examples/getalbum.c @@ -30,7 +30,7 @@ int main(int argc, char *argv[]) { musicbrainz_t o; char error[256], data[256], temp[256], *args[2]; - int ret, numTracks, trackNum, i, isMultipleArtist = 0; + int ret, numDates, numTracks, trackNum, i, isMultipleArtist = 0; if (argc < 2) { @@ -141,7 +141,7 @@ int main(int argc, char *argv[]) if (mb_GetResultData(o, MBE_AlbumGetAmazonCoverartURL, data, 256)) printf("CoverartURL: %s\n", data); - int numDates = mb_GetResultInt(o, MBE_AlbumGetNumReleaseDates); + numDates = mb_GetResultInt(o, MBE_AlbumGetNumReleaseDates); for(i = 1; i <= numDates; i++) { // Select the first release date