Commit bc83a503 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)
parent 542e340f
Pipeline #17063 passed with stage
in 18 minutes and 22 seconds
......@@ -2190,7 +2190,7 @@ _get_fcn_802_1x_phase2_private_key (ARGS_GET_FCN)
strv = nm_utils_strsplit_set (value, " \t,", FALSE); \
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