]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nwfilter: Use virNWFilterDefPtr rather than deref virNWFilterObjPtr
authorJohn Ferlan <jferlan@redhat.com>
Wed, 19 Apr 2017 02:32:32 +0000 (22:32 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 26 Apr 2017 17:13:18 +0000 (13:13 -0400)
commitfc07fd04e4146e62e3165b3da1e2efb634765015
tree29000220e0fb5e3c476d3dca9726e53b1d09be95
parent82769c4fdc1b168be68dcefb9d516ca2bb85bf32
nwfilter: Use virNWFilterDefPtr rather than deref virNWFilterObjPtr

Rather than dereferencing obj->def->XXX or nwfilters->objs[i]->X
create local virNWFilterObjPtr and virNWFilterDefPtr variables.

Future adjustments will be privatizing the object more, so this just
prepares the code for that reality.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/conf/virnwfilterobj.c
src/nwfilter/nwfilter_driver.c