3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 02:18:49 +02:00

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

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);