[network-manager-applet] eap: fix a wrongly placed brace
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] eap: fix a wrongly placed brace
- Date: Tue, 29 Mar 2016 14:23:43 +0000 (UTC)
commit 766494826ab040af9012bf9f2c575ab6dc0b9d5c
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Tue Mar 29 16:21:17 2016 +0200
eap: fix a wrongly placed brace
src/wireless-security/eap-method-leap.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/wireless-security/eap-method-leap.c b/src/wireless-security/eap-method-leap.c
index e52c7a2..63e2d51 100644
--- a/src/wireless-security/eap-method-leap.c
+++ b/src/wireless-security/eap-method-leap.c
@@ -64,8 +64,8 @@ validate (EAPMethod *parent, GError **error)
return FALSE;
}
- text = gtk_entry_get_text (method->password_entry); {
- if (!text || !strlen (text))
+ text = gtk_entry_get_text (method->password_entry);
+ if (!text || !strlen (text)) {
g_set_error_literal (error, NMA_ERROR, NMA_ERROR_GENERIC, _("missing EAP-LEAP password"));
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]