aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-07-25 12:23:46 +0200
committerMax Kellermann <max@duempel.org>2010-07-25 12:23:52 +0200
commitb40c0811f4b9caba5e91dd829da1641fdbb3a890 (patch)
tree55db665c1a1ffe20a962fb3b504b7e08014b9e5a /src
parent838790fc2d12bb763341cebe7700bd21231e2105 (diff)
downloadmpd-b40c0811f4b9caba5e91dd829da1641fdbb3a890.tar.gz
mpd-b40c0811f4b9caba5e91dd829da1641fdbb3a890.tar.xz
mpd-b40c0811f4b9caba5e91dd829da1641fdbb3a890.zip
song_save: song_load() returns NULL instead of false
Diffstat (limited to 'src')
-rw-r--r--src/song_save.c4
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;
}
}