aboutsummaryrefslogtreecommitdiffstats
path: root/src/conf.c
diff options
context:
space:
mode:
authorMatthias Drochner <M.Drochner@fz-juelich.de>2013-05-27 19:37:35 +0200
committerMax Kellermann <max@duempel.org>2013-06-24 16:00:58 +0200
commit2b579aeb4f6177de619eb02129f780675a5482ff (patch)
treec3b0941cc1033e097a3e734093a797eb9879ef97 /src/conf.c
parent7d5d95ad53d15df0b42cef9a5230e46b8de40a22 (diff)
downloadmpd-2b579aeb4f6177de619eb02129f780675a5482ff.tar.gz
mpd-2b579aeb4f6177de619eb02129f780675a5482ff.tar.xz
mpd-2b579aeb4f6177de619eb02129f780675a5482ff.zip
NULL pointer vs bool "false" confusion
there are some places in the mpd-0.17.4 sources where a "false" is used instead of a NULL pointer.
Diffstat (limited to '')
-rw-r--r--src/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf.c b/src/conf.c
index 167f2da92..a22f2ec91 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -317,7 +317,7 @@ config_read_block(FILE *fp, int *count, char *string, GError **error_r)
g_set_error(error_r, config_quark(), 0,
"line %i: Unknown tokens after '}'",
*count);
- return false;
+ return NULL;
}
return ret;