diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-09-18 04:29:53 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-09-18 04:29:53 -0700 |
commit | 71ac281579c8b8b384cfc09d8627b549b1854fcd (patch) | |
tree | b501975bac64ac2cb1be1e30860302ccb3eda67e /src/song.h | |
parent | ba4f62f7d241e2837111102a4dda0c917d544c99 (diff) | |
download | mpd-71ac281579c8b8b384cfc09d8627b549b1854fcd.tar.gz mpd-71ac281579c8b8b384cfc09d8627b549b1854fcd.tar.xz mpd-71ac281579c8b8b384cfc09d8627b549b1854fcd.zip |
Move away from fprintf() when writing DB/state_file
I have serious trust issues when using stdio to write to the FS.
So it's best to clean this code out so I can start figuring out
what's wrong with Rasi's box not updating...
None of these writes take place in a performance-critical
setting anyways...
Diffstat (limited to 'src/song.h')
-rw-r--r-- | src/song.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/song.h b/src/song.h index b7dc6c90b..d27596abd 100644 --- a/src/song.h +++ b/src/song.h @@ -60,7 +60,7 @@ int printSongInfo(int fd, Song * song); int printSongInfoFromList(int fd, SongList * list); -void writeSongInfoFromList(FILE * fp, SongList * list); +void writeSongInfoFromList(int fd, SongList * list); void readSongInfoIntoList(FILE * fp, SongList * list, struct _Directory *parent); |