summaryrefslogtreecommitdiff
path: root/libnm-core/nm-keyfile.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-08-01 11:03:02 +0200
committerThomas Haller <thaller@redhat.com>2018-08-10 10:38:19 +0200
commita587d32467e8666b41299a283c24201cf24b95d1 (patch)
treec99ce8694fdcfcfe09f411a161f83510af72eba6 /libnm-core/nm-keyfile.c
parentd32da2daaa1b37a72a4a1c7ad23850a69ddceb42 (diff)
downloadNetworkManager-a587d32467e8666b41299a283c24201cf24b95d1.tar.gz
shared: move nm_utils_ptrarray_find_binary_search() to shared utils
Diffstat (limited to 'libnm-core/nm-keyfile.c')
-rw-r--r--libnm-core/nm-keyfile.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libnm-core/nm-keyfile.c b/libnm-core/nm-keyfile.c
index c87c68e3bf..a9f15455f4 100644
--- a/libnm-core/nm-keyfile.c
+++ b/libnm-core/nm-keyfile.c
@@ -2473,13 +2473,13 @@ _parse_info_find (const char *setting_name, const char *property_name)
G_STATIC_ASSERT_EXPR (G_STRUCT_OFFSET (ParseInfoProperty, property_name) == 0);
nm_assert (nm_streq (pis->setting_name, setting_name));
- idx = _nm_utils_ptrarray_find_binary_search ((gconstpointer *) pis->properties,
- NM_PTRARRAY_LEN (pis->properties),
- &property_name,
- nm_strcmp_p_with_data,
- NULL,
- NULL,
- NULL);
+ idx = nm_utils_ptrarray_find_binary_search ((gconstpointer *) pis->properties,
+ NM_PTRARRAY_LEN (pis->properties),
+ &property_name,
+ nm_strcmp_p_with_data,
+ NULL,
+ NULL,
+ NULL);
if (idx >= 0)
return pis->properties[idx];
}