[network-manager-pptp/nm-1-2] nm-pppd-plugin: fix crash
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-pptp/nm-1-2] nm-pppd-plugin: fix crash
- Date: Thu, 14 Apr 2016 14:47:54 +0000 (UTC)
commit 5878c8644f1989464583d3537a88fe16e4664e0d
Author: Mikhail Efremov <sem altlinux org>
Date: Wed Apr 13 21:43:18 2016 +0300
nm-pppd-plugin: fix crash
A bus name is not an object path.
Fix crash introduced by commit 17ae85788987ef1f7c92a251c535312163144c33.
(cherry picked from commit f145851f93614473e63d0a7a1a452fedcc90e914)
src/nm-pptp-pppd-plugin.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nm-pptp-pppd-plugin.c b/src/nm-pptp-pppd-plugin.c
index 2b8c819..4567fcc 100644
--- a/src/nm-pptp-pppd-plugin.c
+++ b/src/nm-pptp-pppd-plugin.c
@@ -318,8 +318,8 @@ plugin_init (void)
proxy = g_dbus_proxy_new_sync (bus,
G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES,
NULL,
- NM_DBUS_SERVICE_PPTP_PPP,
bus_name,
+ NM_DBUS_PATH_PPTP_PPP,
NM_DBUS_INTERFACE_PPTP_PPP,
NULL, &err);
g_object_unref (bus);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]