diff options
author | Max Kellermann <max@duempel.org> | 2009-01-17 20:23:58 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-17 20:23:58 +0100 |
commit | 0b29a22c088462f2d2c0fba8363423bd2ab41f1a (patch) | |
tree | 136eb8698c082242e896a71bfaa33e5138e026a6 /src/conf.h | |
parent | 7acc62366cb59aba414821563cc89e01e96c1987 (diff) | |
download | mpd-0b29a22c088462f2d2c0fba8363423bd2ab41f1a.tar.gz mpd-0b29a22c088462f2d2c0fba8363423bd2ab41f1a.tar.xz mpd-0b29a22c088462f2d2c0fba8363423bd2ab41f1a.zip |
conf: replaced getConfigParamValue() with config_get_string()
Don't return a writable pointer.
Diffstat (limited to '')
-rw-r--r-- | src/conf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/conf.h b/src/conf.h index 435adf694..01a2e5e17 100644 --- a/src/conf.h +++ b/src/conf.h @@ -98,7 +98,8 @@ config_get_param(const char *name) return config_get_next_param(name, NULL); } -char *getConfigParamValue(const char *name); +const char * +config_get_string(const char *name, const char *default_value); struct block_param * getBlockParam(struct config_param *param, const char *name); |