Commit 76649482 authored by Lubomir Rintel's avatar Lubomir Rintel
Browse files

eap: fix a wrongly placed brace

parent db6813ef
......@@ -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;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment