Blame SOURCES/1025-clients-fix-string-list-setter-rh1671200.patch

f86c11
From c5820205cef96da3e9a33d0992b2867358e7ae56 Mon Sep 17 00:00:00 2001
f86c11
From: Beniamino Galvani <bgalvani@redhat.com>
f86c11
Date: Thu, 31 Jan 2019 08:55:19 +0100
f86c11
Subject: [PATCH] clients: fix string list setter
f86c11
f86c11
Fixes: 5d3736ac65f05aadd5b794f3f2595451eab3d2f7
f86c11
f86c11
https://bugzilla.redhat.com/show_bug.cgi?id=1671200
f86c11
(cherry picked from commit a68b1827ec20a0fcbf6928468dd880e42c3dc4cb)
f86c11
(cherry picked from commit bc83a5035bd024a09a53b771358971bf3db3fa8b)
f86c11
---
f86c11
 clients/common/nm-meta-setting-desc.c | 2 +-
f86c11
 1 file changed, 1 insertion(+), 1 deletion(-)
f86c11
f86c11
diff --git a/clients/common/nm-meta-setting-desc.c b/clients/common/nm-meta-setting-desc.c
f86c11
index f794c67b2..f4202b4d1 100644
f86c11
--- a/clients/common/nm-meta-setting-desc.c
f86c11
+++ b/clients/common/nm-meta-setting-desc.c
f86c11
@@ -2150,7 +2150,7 @@ _get_fcn_802_1x_phase2_private_key (ARGS_GET_FCN)
f86c11
 		strv = nm_utils_strsplit_set (value, " \t,", FALSE); \
f86c11
 		if (strv) { \
f86c11
 			for (i = 0; strv[i]; i++) \
f86c11
-				set_func (NM_SETTING_802_1X (setting), strv[i++]); \
f86c11
+				set_func (NM_SETTING_802_1X (setting), strv[i]); \
f86c11
 		} \
f86c11
 		return TRUE; \
f86c11
 	}
f86c11
-- 
f86c11
2.20.1
f86c11