diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2005-03-06 19:00:58 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2005-03-06 19:00:58 +0000 |
commit | 586a21688f20d5f5f39a304ba21562f94c1b1a56 (patch) | |
tree | f80b905ac65b1061825b49f98b9189531fb814ab /src/conf.c | |
parent | d60c37f1f9f9ff4db84f9d5432151703308e61fb (diff) | |
download | mpd-586a21688f20d5f5f39a304ba21562f94c1b1a56.tar.gz mpd-586a21688f20d5f5f39a304ba21562f94c1b1a56.tar.xz mpd-586a21688f20d5f5f39a304ba21562f94c1b1a56.zip |
config file change! now 'port' is optional and 'db_file' is required!
also, should have better error reporting when failing to open playlist or
music directory's, or writing the db, etc
git-svn-id: https://svn.musicpd.org/mpd/trunk@3027 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/conf.c')
-rw-r--r-- | src/conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf.c b/src/conf.c index 9c08bb3da..2d5bcc5a4 100644 --- a/src/conf.c +++ b/src/conf.c @@ -361,7 +361,7 @@ BlockParam * getBlockParam(ConfigParam * param, char * name) { return ret; } -char * parseConfigFilePath(char * name, int force) { +ConfigParam * parseConfigFilePath(char * name, int force) { ConfigParam * param = getConfigParam(name); char * path; @@ -426,5 +426,5 @@ char * parseConfigFilePath(char * name, int force) { param->value = newPath; } - return param->value; + return param; } |