diff options
author | Thomas Haller <thaller@redhat.com> | 2019-04-03 15:44:19 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-04-10 15:05:57 +0200 |
commit | 84f2037648a68693faa7fa1768743921439113c9 (patch) | |
tree | bc5f759549fda6579bd3c376f7a550465c01b9ea /clients/cli/connections.c | |
parent | 700a32e5ddd95cd2e11ee1faaaa97177d39fd27a (diff) | |
download | NetworkManager-84f2037648a68693faa7fa1768743921439113c9.tar.gz |
shared: add flags argument to nm_utils_strsplit_set()
It will be useful to extend nm_utils_strsplit_set() with various
flavors and subtly different behaviors. Add a flags argument to
support these.
Diffstat (limited to 'clients/cli/connections.c')
-rw-r--r-- | clients/cli/connections.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clients/cli/connections.c b/clients/cli/connections.c index 9a71d3944d..97c46923ae 100644 --- a/clients/cli/connections.c +++ b/clients/cli/connections.c @@ -1876,7 +1876,7 @@ parse_preferred_connection_order (const char *order, GError **error) gboolean inverse, unique; int i; - strv = nm_utils_strsplit_set (order, ":", FALSE); + strv = nm_utils_strsplit_set (order, ":"); if (!strv) { g_set_error (error, NMCLI_ERROR, 0, _("incorrect string '%s' of '--order' option"), order); @@ -2680,7 +2680,7 @@ parse_passwords (const char *passwd_file, GError **error) return NULL; } - strv = nm_utils_strsplit_set (contents, "\r\n", FALSE); + strv = nm_utils_strsplit_set (contents, "\r\n"); for (iter = strv; *iter; iter++) { gs_free char *iter_s = g_strdup (*iter); |