summaryrefslogtreecommitdiff
path: root/src/devices/bluetooth
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-11-28 11:22:01 +0100
committerThomas Haller <thaller@redhat.com>2017-11-28 11:26:39 +0100
commitb6efac9ec22563c8df747f883da653d85d188681 (patch)
tree53933f84e2e3141e7954701baedee7ba12f4e563 /src/devices/bluetooth
parent2becc0a0ac82834ea96898c17ec79cd038e6db54 (diff)
downloadNetworkManager-b6efac9ec22563c8df747f883da653d85d188681.tar.gz
c-list: re-import latest version of c-list.h from upstream
Most notably, it renames c_list_unlink_init() -> c_list_unlink() c_list_unlink() -> c_list_unlink_stale() $ sed -e 's/\<c_list_unlink\>/c_list_unlink_old/g' \ -e 's/\<c_list_unlink_init\>/c_list_unlink/g' \ -e 's/\<c_list_unlink_old\>/c_list_unlink_stale/g' \ $(git grep -l c_list_unlink -- ':(exclude)shared/nm-utils/c-list.h') \ -i
Diffstat (limited to 'src/devices/bluetooth')
-rw-r--r--src/devices/bluetooth/nm-bluez5-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bluetooth/nm-bluez5-manager.c b/src/devices/bluetooth/nm-bluez5-manager.c
index 8c93f2a50b..de3f407275 100644
--- a/src/devices/bluetooth/nm-bluez5-manager.c
+++ b/src/devices/bluetooth/nm-bluez5-manager.c
@@ -158,7 +158,7 @@ static void
_network_server_free (NMBluez5Manager *self, NetworkServer *network_server)
{
_network_server_unregister (self, network_server);
- c_list_unlink (&network_server->lst_ns);
+ c_list_unlink_stale (&network_server->lst_ns);
g_free (network_server->path);
g_free (network_server->addr);
g_slice_free (NetworkServer, network_server);