From 5d227e85c50de53b71966aaa03a8103871a18412 Mon Sep 17 00:00:00 2001 From: Nico Golde Date: Thu, 2 Apr 2009 12:29:49 +0200 Subject: [PATCH] Fixup taglib_tab_free_strings() invocation Fixup taglib_tab_free_strings() invocation; the function never took an argument to start with, so fix that up as it now breaks the build. --- src/scan-mpc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/scan-mpc.c b/src/scan-mpc.c index 3430ade9..d9994579 100644 --- a/src/scan-mpc.c +++ b/src/scan-mpc.c @@ -69,31 +69,31 @@ int scan_get_mpcinfo(char *filename, MP3FILE *pmp3) { len = strlen(val); if ((pmp3->title = calloc(len + 1, 1)) != NULL) strncpy(pmp3->title, val, len); - taglib_tag_free_strings(val); + taglib_tag_free_strings(); } if ((val = taglib_tag_artist(tag)) != NULL) { len = strlen(val); if ((pmp3->artist = calloc(len + 1, 1)) != NULL) strncpy(pmp3->artist, val, len); - taglib_tag_free_strings(val); + taglib_tag_free_strings(); } if ((val = taglib_tag_album(tag)) != NULL) { len = strlen(val); if ((pmp3->album = calloc(len + 1, 1)) != NULL) strncpy(pmp3->album, val, len); - taglib_tag_free_strings(val); + taglib_tag_free_strings(); } if ((val = taglib_tag_comment(tag)) != NULL) { len = strlen(val); if ((pmp3->comment = calloc(len + 1, 1)) != NULL) strncpy(pmp3->comment, val, len); - taglib_tag_free_strings(val); + taglib_tag_free_strings(); } if ((val = taglib_tag_genre(tag)) != NULL) { len = strlen(val); if ((pmp3->genre = calloc(len + 1, 1)) != NULL) strncpy(pmp3->genre, val, len); - taglib_tag_free_strings(val); + taglib_tag_free_strings(); } if ((i = taglib_tag_year(tag)) != 0)