libnm: only call strlen() once in NMSetting8021x:path_to_scheme_value()
authorThomas Haller <thaller@redhat.com>
Thu, 26 Feb 2015 01:27:54 +0000 (02:27 +0100)
committerThomas Haller <thaller@redhat.com>
Thu, 12 Mar 2015 17:12:25 +0000 (18:12 +0100)
commit11371b5470a890512b697d0926a242d9aefe9d1d
treed8029a0122f651989b5236e742b004b024f437df
parent88a79625a667a562831925d4636bf819e0aa0f6b
libnm: only call strlen() once in NMSetting8021x:path_to_scheme_value()

Also assert that path is not empty.
libnm-core/nm-setting-8021x.c
libnm-util/nm-setting-8021x.c