From 0269bfa309f85aaf05f1451196ad2bd8c0b150ac Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 7 Jul 2008 22:03:24 +0200 Subject: 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. --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 49914ba..fb9e02d 100644 --- a/src/main.c +++ b/src/main.c @@ -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 { -- cgit v1.2.3