From 71ac281579c8b8b384cfc09d8627b549b1854fcd Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 18 Sep 2008 04:29:53 -0700 Subject: 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... --- src/playlist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/playlist.h') diff --git a/src/playlist.h b/src/playlist.h index 2d8d43ec6..560a4d1e2 100644 --- a/src/playlist.h +++ b/src/playlist.h @@ -46,7 +46,7 @@ void finishPlaylist(void); void readPlaylistState(FILE *); -void savePlaylistState(FILE *); +void savePlaylistState(int fd); void clearPlaylist(void); -- cgit v1.2.3