[network-manager-applet] libnm-gtk: fix setting scheme output for uri_to_value_with_scheme()
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] libnm-gtk: fix setting scheme output for uri_to_value_with_scheme()
- Date: Tue, 6 Mar 2018 10:23:30 +0000 (UTC)
commit 0b063c253c28b4f29885c7b76e6a7e64fd86a693
Author: Thomas Haller <thaller redhat com>
Date: Mon Mar 5 19:57:27 2018 +0100
libnm-gtk: fix setting scheme output for uri_to_value_with_scheme()
Fixes: 0da2398042bd8dccfdf63abf76b4d6b0679e4803
src/libnma/nma-cert-chooser.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/libnma/nma-cert-chooser.c b/src/libnma/nma-cert-chooser.c
index 0461dce..aba3708 100644
--- a/src/libnma/nma-cert-chooser.c
+++ b/src/libnma/nma-cert-chooser.c
@@ -131,6 +131,7 @@ uri_to_value_with_scheme (const gchar *uri, NMSetting8021xCKScheme *scheme)
}
g_return_val_if_fail (g_str_has_prefix (uri, "file://"), NULL);
+ *scheme = NM_SETTING_802_1X_CK_SCHEME_PATH;
return g_uri_unescape_string (uri + 7, NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]