diff options
author | Slava Monich <slava.monich@jolla.com> | 2018-01-18 18:47:57 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2018-01-18 10:53:28 -0600 |
commit | 0797b23c5d15ed0382fa46ddc9536f8e21595884 (patch) | |
tree | 9af9ffd868841be7b872a4976d8c2e558853f058 /plugins/push-notification.c | |
parent | f7544d87a3e7fc7f66c6ddb9911463710644643b (diff) | |
download | ofono-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.c | 2 |
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, |