]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nss: Move address lookup code into a separate function
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 6 Dec 2016 11:54:43 +0000 (12:54 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 6 Dec 2016 12:33:18 +0000 (13:33 +0100)
commit3225e5b26e83083cc980bdc28b8933e491d9eb29
tree938c23644361f63add4db8d7e2fcc88f390b41f3
parent607876566621778beef653f40c5e02e838330379
nss: Move address lookup code into a separate function

The part of the code that iterates over an array of JSON values
is going to be re-used. Instead of copying it over, move it to a
separate function.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
tools/nss/libvirt_nss.c