diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-05-03 19:57:20 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-05-03 19:57:20 +0200 |
commit | 3edbc412342070bbfd1b9fe3899213912e93411b (patch) | |
tree | 9e3aa29f881bfa7281c82fe51012d778b024fcf2 /src/settings.c | |
parent | 096975db943e4422a9a0afd57d785d4f3ade97f0 (diff) | |
download | pianobar-3edbc412342070bbfd1b9fe3899213912e93411b.tar.gz pianobar-3edbc412342070bbfd1b9fe3899213912e93411b.tar.bz2 pianobar-3edbc412342070bbfd1b9fe3899213912e93411b.zip |
Switch to libwaitress
Diffstat (limited to 'src/settings.c')
-rw-r--r-- | src/settings.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/settings.c b/src/settings.c index 786eb53..dfff76b 100644 --- a/src/settings.c +++ b/src/settings.c @@ -199,19 +199,6 @@ void BarSettingsRead (BarSettings_t *settings) { } if (strcmp ("control_proxy", key) == 0) { settings->controlProxy = strdup (val); - } else if (strcmp ("control_proxy_type", key) == 0) { - if (strcmp ("http", val) == 0) { - settings->controlProxyType = CURLPROXY_HTTP; - } else if (strcmp ("socks4", val) == 0) { - settings->controlProxyType = CURLPROXY_SOCKS4; - } else if (strcmp ("socks4a", val) == 0) { - settings->controlProxyType = CURLPROXY_SOCKS4A; - } else if (strcmp ("socks5", val) == 0) { - settings->controlProxyType = CURLPROXY_SOCKS5; - } else { - /* error: don't use proxy at all */ - settings->controlProxyType = -1; - } } else if (strcmp ("user", key) == 0) { settings->username = strdup (val); } else if (strcmp ("password", key) == 0) { @@ -222,12 +209,6 @@ void BarSettingsRead (BarSettings_t *settings) { settings->lastfmPassword = strdup (val); } else if (strcmp ("lastfm_scrobble_percent", key) == 0) { settings->lastfmScrobblePercent = atoi (val); - } else if (strcmp ("disable_secure_login", key) == 0) { - if (strcmp (val, "1") == 0) { - settings->disableSecureLogin = 1; - } else { - settings->disableSecureLogin = 0; - } } else if (memcmp ("act_", key, 4) == 0) { /* keyboard shortcuts */ for (i = 0; i < sizeof (defaultKeys) / sizeof (*defaultKeys); |