diff options
author | Max Kellermann <max@duempel.org> | 2010-07-25 12:23:46 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-07-25 12:23:52 +0200 |
commit | b40c0811f4b9caba5e91dd829da1641fdbb3a890 (patch) | |
tree | 55db665c1a1ffe20a962fb3b504b7e08014b9e5a /src/song_save.c | |
parent | 838790fc2d12bb763341cebe7700bd21231e2105 (diff) | |
download | mpd-b40c0811f4b9caba5e91dd829da1641fdbb3a890.tar.gz mpd-b40c0811f4b9caba5e91dd829da1641fdbb3a890.tar.xz mpd-b40c0811f4b9caba5e91dd829da1641fdbb3a890.zip |
song_save: song_load() returns NULL instead of false
Diffstat (limited to 'src/song_save.c')
-rw-r--r-- | src/song_save.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/song_save.c b/src/song_save.c index 99d412f50..ac01877cf 100644 --- a/src/song_save.c +++ b/src/song_save.c @@ -81,7 +81,7 @@ song_load(FILE *fp, struct directory *parent, const char *uri, g_set_error(error_r, song_save_quark(), 0, "unknown line in db: %s", line); - return false; + return NULL; } *colon++ = 0; @@ -110,7 +110,7 @@ song_load(FILE *fp, struct directory *parent, const char *uri, g_set_error(error_r, song_save_quark(), 0, "unknown line in db: %s", line); - return false; + return NULL; } } |