Skip to content

Commit

Permalink
Add missing DBUS_ERROR_FAILED error type to dbus_set_error() call
Browse files Browse the repository at this point in the history
I'm not sure how this call ever worked, since dbus_set_error() was
missing necessary arguments to operate properly...
  • Loading branch information
Conan-Kudo committed Dec 27, 2017
1 parent d78483d commit 45aecd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dbus-objects/addrconf.c
Expand Up @@ -749,7 +749,7 @@ ni_objectmodel_addrconf_forwarder_call(ni_dbus_addrconf_forwarder_t *forwarder,
if (forwarder->supplicant.client == NULL) {
forwarder->supplicant.client = ni_create_dbus_client(forwarder->supplicant.bus_name);
if (forwarder->supplicant.client == NULL) {
dbus_set_error(error, "unable to create call forwarder for %s",
dbus_set_error(error, DBUS_ERROR_FAILED, "unable to create call forwarder for %s",
forwarder->supplicant.bus_name);
return FALSE;
}
Expand Down

0 comments on commit 45aecd0

Please sign in to comment.