mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 18:08:05 +02:00
dhcp: internal: Prefer nm_assert() to g_assert()
make checkpatch.pl happy: src/dhcp/nm-dhcp-systemd.c:949: Prefer nm_assert() or g_return*() to g_assert*(): > g_assert (priv->client6 == client);
This commit is contained in:
parent
0c62445853
commit
257d92717b
1 changed files with 1 additions and 1 deletions
|
|
@ -945,7 +945,7 @@ dhcp6_event_cb (sd_dhcp6_client *client, int event, gpointer user_data)
|
|||
NMDhcpSystemd *self = NM_DHCP_SYSTEMD (user_data);
|
||||
NMDhcpSystemdPrivate *priv = NM_DHCP_SYSTEMD_GET_PRIVATE (self);
|
||||
|
||||
g_assert (priv->client6 == client);
|
||||
nm_assert (priv->client6 == client);
|
||||
|
||||
_LOGD ("client event %d", event);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue