diff options
author | Thomas Haller <thaller@redhat.com> | 2019-03-19 13:06:00 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-03-25 09:12:32 +0100 |
commit | b91f21aa237d180b1859db2dbbf14ec06681f4d8 (patch) | |
tree | 9e0473f8f67bb47244f8d3bf05ba499f2c505c9d /libnm-core/nm-setting-connection.c | |
parent | ecd0e34fe9235a0ae7b07fc8e880c1407c33d668 (diff) | |
download | NetworkManager-b91f21aa237d180b1859db2dbbf14ec06681f4d8.tar.gz |
cli: implement connection:permissions as multilist property
Diffstat (limited to 'libnm-core/nm-setting-connection.c')
-rw-r--r-- | libnm-core/nm-setting-connection.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libnm-core/nm-setting-connection.c b/libnm-core/nm-setting-connection.c index 79ffa477e4..e4fb70c247 100644 --- a/libnm-core/nm-setting-connection.c +++ b/libnm-core/nm-setting-connection.c @@ -471,6 +471,7 @@ nm_setting_connection_remove_permission_by_value (NMSettingConnection *setting, g_return_val_if_fail (NM_IS_SETTING_CONNECTION (setting), FALSE); g_return_val_if_fail (ptype && ptype[0], FALSE); g_return_val_if_fail (detail == NULL, FALSE); + g_return_val_if_fail (pitem != NULL, FALSE); /* Only "user" for now... */ g_return_val_if_fail (strcmp (ptype, "user") == 0, FALSE); |