diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-04-13 02:38:09 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-04-13 02:38:09 +0000 |
commit | f765c262754bdb181cffa686c9bdf19b6ae184bb (patch) | |
tree | 4542f9c8fa2519b01146054407bddb5e78d9b98c /src/tag.c | |
parent | 375e3ffed496c995383156f9675fa95f145e05bf (diff) | |
download | mpd-f765c262754bdb181cffa686c9bdf19b6ae184bb.tar.gz mpd-f765c262754bdb181cffa686c9bdf19b6ae184bb.tar.xz mpd-f765c262754bdb181cffa686c9bdf19b6ae184bb.zip |
fix a small booboo and add some debugging stuff
git-svn-id: https://svn.musicpd.org/mpd/trunk@708 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/tag.c')
-rw-r--r-- | src/tag.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -25,6 +25,7 @@ #include "aac_decode.h" #include "utils.h" #include "utf8.h" +#include "log.h" #include <sys/stat.h> #include <stdlib.h> @@ -61,6 +62,7 @@ void printMpdTag(FILE * fp, MpdTag * tag) { #define fixUtf8(str) { \ if(str && !validUtf8String(str)) { \ char * temp; \ + DEBUG("not valid utf8 in tag: %s\n",str); \ temp = asciiStrToUtf8Dup(str); \ free(str); \ str = temp; \ |