mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-27 10:30:36 +01:00
libnm: fix an assert in nm_client_get_capabilities()
The length argument is optional. That makes sense, because the returned array is NUL-terminated.
This commit is contained in:
parent
a7ef068186
commit
de67d0af12
1 changed files with 0 additions and 1 deletions
|
|
@ -6261,7 +6261,6 @@ nm_client_get_capabilities(NMClient *client, gsize *length)
|
|||
NMClientPrivate *priv;
|
||||
|
||||
g_return_val_if_fail(NM_IS_CLIENT(client), NULL);
|
||||
g_return_val_if_fail(length, NULL);
|
||||
|
||||
priv = NM_CLIENT_GET_PRIVATE(client);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue