[NetworkManager-fortisslvpn] service: remove some useless defines
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [NetworkManager-fortisslvpn] service: remove some useless defines
- Date: Tue, 2 Apr 2019 08:39:03 +0000 (UTC)
commit f0977d3e7b72c9d2830e564b470e235bc9f45717
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Mon Apr 1 17:19:31 2019 +0200
service: remove some useless defines
src/nm-fortisslvpn-service.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/nm-fortisslvpn-service.c b/src/nm-fortisslvpn-service.c
index 3daf769..4da810e 100644
--- a/src/nm-fortisslvpn-service.c
+++ b/src/nm-fortisslvpn-service.c
@@ -83,9 +83,7 @@ typedef struct {
#define NM_FORTISSLVPN_PLUGIN_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), NM_TYPE_FORTISSLVPN_PLUGIN,
NMFortisslvpnPluginPrivate))
-#define NM_FORTISSLVPN_PPPD_PLUGIN PLUGINDIR "/nm-fortisslvpn-pppd-plugin.so"
#define NM_FORTISSLVPN_WAIT_PPPD 10000 /* 10 seconds */
-#define FORTISSLVPN_SERVICE_SECRET_TRIES "fortisslvpn-service-secret-tries"
#define _NMLOG(level, ...) \
G_STMT_START { \
@@ -263,7 +261,7 @@ run_openfortivpn (NMFortisslvpnPlugin *plugin, NMSettingVpn *s_vpn, GError **err
}
g_ptr_array_add (argv, (gpointer) g_strdup ("--pppd-plugin"));
- g_ptr_array_add (argv, (gpointer) g_strdup (NM_FORTISSLVPN_PPPD_PLUGIN));
+ g_ptr_array_add (argv, (gpointer) g_strdup (PLUGINDIR "/nm-fortisslvpn-pppd-plugin.so"));
value = nm_setting_vpn_get_data_item (s_vpn, NM_FORTISSLVPN_KEY_REALM);
if (value) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]