summaryrefslogtreecommitdiff
path: root/plugins/push-notification.c
diff options
context:
space:
mode:
authorSlava Monich <slava.monich@jolla.com>2018-01-18 18:47:57 +0200
committerDenis Kenzior <denkenz@gmail.com>2018-01-18 10:53:28 -0600
commit0797b23c5d15ed0382fa46ddc9536f8e21595884 (patch)
tree9af9ffd868841be7b872a4976d8c2e558853f058 /plugins/push-notification.c
parentf7544d87a3e7fc7f66c6ddb9911463710644643b (diff)
downloadofono-0797b23c5d15ed0382fa46ddc9536f8e21595884.tar.gz
dbus: Use dbus_validate_path
Instead of __ofono_dbus_valid_object_path
Diffstat (limited to 'plugins/push-notification.c')
-rw-r--r--plugins/push-notification.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/push-notification.c b/plugins/push-notification.c
index ff388d9e..f469f9ed 100644
--- a/plugins/push-notification.c
+++ b/plugins/push-notification.c
@@ -96,7 +96,7 @@ static DBusMessage *push_notification_register_agent(DBusConnection *conn,
DBUS_TYPE_INVALID) == FALSE)
return __ofono_error_invalid_args(msg);
- if (!__ofono_dbus_valid_object_path(agent_path))
+ if (!dbus_validate_path(agent_path, NULL))
return __ofono_error_invalid_format(msg);
pn->agent = sms_agent_new(AGENT_INTERFACE,