resolve: Fix message argument

Previously, the argument was incorrectly passed by reference
instead of by value.
This commit is contained in:
Tim Kourt 2019-07-15 12:47:27 -07:00 committed by Denis Kenzior
parent f557c7e6cd
commit 6efc94ff5a
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ static void resolve_systemd_remove(uint32_t ifindex, void *data)
if (!message)
return;
l_dbus_message_set_arguments(message, "i", &ifindex);
l_dbus_message_set_arguments(message, "i", ifindex);
l_dbus_send_with_reply(dbus_get_bus(), message, systemd_link_dns_reply,
state, NULL);