diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-04-13 19:08:38 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-04-13 19:08:38 +0000 |
commit | 860f8bda714da8724777e47829e751585b4ca288 (patch) | |
tree | 293daaf8f52314a9fe2b63fb7bb75c54909e42bc /src/player.c | |
parent | 5a50fa7147be049212274534ccfbf7ed14708070 (diff) | |
download | mpd-860f8bda714da8724777e47829e751585b4ca288.tar.gz mpd-860f8bda714da8724777e47829e751585b4ca288.tar.xz mpd-860f8bda714da8724777e47829e751585b4ca288.zip |
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
Diffstat (limited to 'src/player.c')
-rw-r--r-- | src/player.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player.c b/src/player.c index 9376d01b3..b7c495979 100644 --- a/src/player.c +++ b/src/player.c @@ -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; } |