diff options
author | Thomas Haller <thaller@redhat.com> | 2018-12-12 17:11:34 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-12-13 09:16:32 +0100 |
commit | b16e09a707fd836cf1ea4ed34422158c8408d94f (patch) | |
tree | 945c8425f8f86c15c7665ce3010c4258c43de395 /src/supplicant/nm-supplicant-interface.h | |
parent | 589063db3b08a5899eae1e6c84eb68bd309d2736 (diff) |
core: use streq() instead of strcmp() for comparing ip-config methods
Refactor some code to use nm_streq() and NM_IN_STRSET() instead of
strcmp().
Note that nm_utils_get_ip_config_method() never returns %NULL (not even
with g_return*() assertion failures). nm_streq() is sufficent.
Diffstat (limited to 'src/supplicant/nm-supplicant-interface.h')
0 files changed, 0 insertions, 0 deletions