use "$@" instead of "$*"

git-svn-id: https://svn.musicpd.org/mpd/trunk@48 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes 2004-02-25 04:53:30 +00:00
parent 991eb52bcf
commit c10807c276
2 changed files with 4 additions and 4 deletions

View File

@ -61,5 +61,5 @@ autoconf
cd ../.. cd ../..
# Run configure for this platform # Run configure for this platform
./configure $* ./configure "$@"

View File

@ -315,14 +315,14 @@ MpdTag * flacMetadataDup(char * utf8file, int * vorbisCommentFound) {
return ret; return ret;
} }
MpdTag * flacTagDup(char * file) { MpdTag * flacTagDup(char * utf8file) {
MpdTag * ret = NULL; MpdTag * ret = NULL;
int foundVorbisComment = 0; int foundVorbisComment = 0;
ret = flacMetadataDup(file,&foundVorbisComment); ret = flacMetadataDup(utf8file,&foundVorbisComment);
if(!ret) return NULL; if(!ret) return NULL;
if(!foundVorbisComment) { if(!foundVorbisComment) {
MpdTag * temp = id3Dup(file); MpdTag * temp = id3Dup(utf8file);
if(temp) { if(temp) {
temp->time = ret->time; temp->time = ret->time;
freeMpdTag(ret); freeMpdTag(ret);