From 64e1a9e2ccf11765723b3b65ebac188ec239733c Mon Sep 17 00:00:00 2001 From: Andreas Obergrusberger Date: Sat, 9 Sep 2006 21:47:47 +0000 Subject: [PATCH] http://musicpd.org/mantis/view.php?id=1324 git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4757 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/conf.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/conf.c b/src/conf.c index 3efdbbc..3af986b 100644 --- a/src/conf.c +++ b/src/conf.c @@ -67,6 +67,7 @@ #define CONF_TIMEDISPLAY_TYPE "timedisplay-type" #define CONF_HOST "host" #define CONF_PORT "port" +#define CONF_PASSWORD "password" #define CONF_LYRICS_TIMEOUT "lyrics-timeout" #define CONF_SHOW_SPLASH "show-splash" @@ -575,7 +576,11 @@ read_rc_file(char *filename, options_t *options) { options->port = atoi(get_format(value)); } - else if( !strcasecmp(CONF_LYRICS_TIMEOUT, name)) + else if( !strcasecmp(CONF_PASSWORD, name)) + { + options->password = get_format(value); + } + else if( !strcasecmp(CONF_LYRICS_TIMEOUT, name)) { options->lyrics_timeout = atoi(get_format(value)); } -- 2.30.2