From bb8a9533b1a2df4ea34be2c6f053f22fe49a60d0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 8 Oct 2008 11:07:55 +0200 Subject: database: renamed functions, "db_" prefix and no CamelCase Yet another CamelCase removal patch. --- src/playlist.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/playlist.c') diff --git a/src/playlist.c b/src/playlist.c index f1d3ce24c..438eb473b 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -559,7 +559,7 @@ enum playlist_result addToPlaylist(const char *url, int *added_id) DEBUG("add to playlist: %s\n", url); - if ((song = getSongFromDB(url))) { + if ((song = get_get_song(url))) { } else if (!(isValidRemoteUtf8Url(url) && (song = song_remote_new(url)))) { return PLAYLIST_RESULT_NO_SUCH_SONG; @@ -574,7 +574,7 @@ int addToStoredPlaylist(const char *url, const char *utf8file) DEBUG("add to stored playlist: %s\n", url); - song = getSongFromDB(url); + song = get_get_song(url); if (song) return appendSongToStoredPlaylistByPath(utf8file, song); @@ -1360,7 +1360,7 @@ int PlaylistInfo(struct client *client, const char *utf8file, int detail) int wrote = 0; if (detail) { - struct song *song = getSongFromDB(temp); + struct song *song = get_get_song(temp); if (song) { song_print_info(client, song); wrote = 1; -- cgit v1.2.3