ok, rework myfprintf so it uses write() and never use any file stream
print functions. this way we can always know wtf is going on! also, remove some places where we were using fprintf and printf instead of myfprintf git-svn-id: https://svn.musicpd.org/mpd/trunk@734 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
@@ -397,7 +397,7 @@ int playerSeek(FILE * fp, char * utf8file, float time) {
|
||||
if(strcmp(pc->file,file)!=0) {
|
||||
decodeType = playerGetDecodeType(utf8file);
|
||||
if(decodeType < 0) {
|
||||
printf("%s unknown file type: %s\n",
|
||||
myfprintf(fp,"%s unknown file type: %s\n",
|
||||
COMMAND_RESPOND_ERROR, utf8file);
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user