aboutsummaryrefslogtreecommitdiff
path: root/src/conf.c
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2006-07-21 17:20:38 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2006-07-21 17:20:38 +0000
commit6dbacc71c7a9bcea220801e877e46ee2916a1759 (patch)
tree39b2460b660e9ae6b23f1ff73ab953da8e76f76b /src/conf.c
parentac7ef037b520cfe961942aa2f18a75c6408a7150 (diff)
Make getBoolConfigParam and save_absolute_paths_in_playlist less stupid
git-svn-id: https://svn.musicpd.org/mpd/trunk@4419 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/conf.c')
-rw-r--r--src/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf.c b/src/conf.c
index 2a5ea9e5..2a0ab207 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -372,7 +372,7 @@ int getBoolConfigParam(char *name)
if (strcmp("yes", param->value) == 0) return 1;
else if (strcmp("no", param->value) == 0) return 0;
- return -1;
+ return -2;
}
BlockParam *getBlockParam(ConfigParam * param, char *name)