From a49b63d25a8fd5f49c7f1dd2784a68f10a865bc9 Mon Sep 17 00:00:00 2001 From: Felipe Borges Date: Tue, 3 May 2016 14:00:42 +0200 Subject: [PATCH] rdp: correct limit of authentication attempts --- plugins/rdp/vinagre-rdp-tab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/rdp/vinagre-rdp-tab.c b/plugins/rdp/vinagre-rdp-tab.c index e9a4623..e79a849 100644 --- a/plugins/rdp/vinagre-rdp-tab.c +++ b/plugins/rdp/vinagre-rdp-tab.c @@ -1190,7 +1190,7 @@ open_freerdp (VinagreRdpTab *rdp_tab) } } while (!success && - priv->authentication_attempts > 3 && + priv->authentication_attempts < 3 && !priv->authentication_cancelled); if (!success) -- 2.5.5