From c10807c2769435077f4f9e4a13e5a2af12702a7e Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Wed, 25 Feb 2004 04:53:30 +0000 Subject: [PATCH] use "$@" instead of "$*" git-svn-id: https://svn.musicpd.org/mpd/trunk@48 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- autogen.sh | 2 +- src/tag.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/autogen.sh b/autogen.sh index 112365ae2..5125c8044 100755 --- a/autogen.sh +++ b/autogen.sh @@ -61,5 +61,5 @@ autoconf cd ../.. # Run configure for this platform -./configure $* +./configure "$@" diff --git a/src/tag.c b/src/tag.c index 506c9d5f6..388c1fd9d 100644 --- a/src/tag.c +++ b/src/tag.c @@ -315,14 +315,14 @@ MpdTag * flacMetadataDup(char * utf8file, int * vorbisCommentFound) { return ret; } -MpdTag * flacTagDup(char * file) { +MpdTag * flacTagDup(char * utf8file) { MpdTag * ret = NULL; int foundVorbisComment = 0; - ret = flacMetadataDup(file,&foundVorbisComment); + ret = flacMetadataDup(utf8file,&foundVorbisComment); if(!ret) return NULL; if(!foundVorbisComment) { - MpdTag * temp = id3Dup(file); + MpdTag * temp = id3Dup(utf8file); if(temp) { temp->time = ret->time; freeMpdTag(ret);