Commit 3cadc48a authored by Beniamino Galvani's avatar Beniamino Galvani

clients: fix string list setter

Fixes: 5d3736ac

https://bugzilla.redhat.com/show_bug.cgi?id=1671200
(cherry picked from commit a68b1827)
(cherry picked from commit bc83a503)
parent bf4e9792
......@@ -2183,7 +2183,7 @@ _get_fcn_802_1x_phase2_private_key (ARGS_GET_FCN)
strv = nm_utils_strsplit_set (value, " \t,"); \
if (strv) { \
for (i = 0; strv[i]; i++) \
set_func (NM_SETTING_802_1X (setting), strv[i++]); \
set_func (NM_SETTING_802_1X (setting), strv[i]); \
} \
return TRUE; \
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment