diff options
author | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-07-07 22:03:24 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-07-07 22:03:24 +0200 |
commit | 0269bfa309f85aaf05f1451196ad2bd8c0b150ac (patch) | |
tree | e8b70f8c1a08ec06053d81571897b1af04b696ac /src/main.c | |
parent | eb46d942e5ecf50ff9f85ee62ea2fa454aa228fa (diff) | |
download | pianobar-windows-0269bfa309f85aaf05f1451196ad2bd8c0b150ac.tar.gz pianobar-windows-0269bfa309f85aaf05f1451196ad2bd8c0b150ac.tar.bz2 pianobar-windows-0269bfa309f85aaf05f1451196ad2bd8c0b150ac.zip |
SSL control proxy issue workaround
Some proxies refuse SSL connections. Make them usable by adding an option
which disables the usage of SSL for the login.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -267,8 +267,8 @@ int main (int argc, char **argv) { BarTermSetBuffer (0); BarUiMsg ("Login... "); - if (PianoConnect (&ph, bsettings.username, bsettings.password) != - PIANO_RET_OK) { + if (PianoConnect (&ph, bsettings.username, bsettings.password, + !bsettings.disableSecureLogin) != PIANO_RET_OK) { BarUiMsg ("Error.\n"); return 0; } else { |