use "$@" instead of "$*"
git-svn-id: https://svn.musicpd.org/mpd/trunk@48 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
991eb52bcf
commit
c10807c276
|
@ -61,5 +61,5 @@ autoconf
|
||||||
cd ../..
|
cd ../..
|
||||||
|
|
||||||
# Run configure for this platform
|
# Run configure for this platform
|
||||||
./configure $*
|
./configure "$@"
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue