From e19f6905d9c209d7587177dbfdbc58869a2167cc Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 7 Oct 2008 22:06:59 +0200 Subject: song: replace printSong* with song_print_* This make argument order more consistent for iterators. Additionally, these now return ssize_t results for error checking. --- src/playlist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/playlist.c') diff --git a/src/playlist.c b/src/playlist.c index b6329cfde..96b170b0a 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -365,7 +365,7 @@ void readPlaylistState(FILE *fp) static void printPlaylistSongInfo(struct client *client, int song) { - printSongInfo(client, playlist.songs[song]); + song_print_info(client, playlist.songs[song]); client_printf(client, "Pos: %i\nId: %i\n", song, playlist.positionToId[song]); } @@ -1360,7 +1360,7 @@ int PlaylistInfo(struct client *client, const char *utf8file, int detail) if (detail) { Song *song = getSongFromDB(temp); if (song) { - printSongInfo(client, song); + song_print_info(client, song); wrote = 1; } } -- cgit v1.2.3