summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b93dee7)
raw | patch | inline | side by side (parent: b93dee7)
author | Andreas Obergrusberger <tradiaz@yahoo.de> | |
Sat, 9 Sep 2006 21:47:47 +0000 (21:47 +0000) | ||
committer | Andreas Obergrusberger <tradiaz@yahoo.de> | |
Sat, 9 Sep 2006 21:47:47 +0000 (21:47 +0000) |
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4757 09075e82-0dd4-0310-85a5-a0d7c8717e4f
src/conf.c | patch | blob | history |
diff --git a/src/conf.c b/src/conf.c
index 3efdbbc6977c0e4b2c3c3b98c86c9d70a296524e..3af986b95fe89df1c99a72021c2b2b03b2352ddb 100644 (file)
--- a/src/conf.c
+++ b/src/conf.c
#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"
{
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));
}