It is what it is anyway, so let's describe it that way too.
Signed-off-by: John Ferlan <jferlan(a)redhat.com>
---
src/conf/virnwfilterobj.c | 4 ++--
src/conf/virnwfilterobj.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/conf/virnwfilterobj.c b/src/conf/virnwfilterobj.c
index 9e7d584..6e5c5b7 100644
--- a/src/conf/virnwfilterobj.c
+++ b/src/conf/virnwfilterobj.c
@@ -192,12 +192,12 @@ virNWFilterObjTestUnassignDef(virNWFilterObjPtr obj)
{
int rc = 0;
- obj->wantRemoved = 1;
+ obj->wantRemoved = true;
/* trigger the update on VMs referencing the filter */
if (virNWFilterTriggerVMFilterRebuild())
rc = -1;
- obj->wantRemoved = 0;
+ obj->wantRemoved = false;
return rc;
}
diff --git a/src/conf/virnwfilterobj.h b/src/conf/virnwfilterobj.h
index 7a2addf..f31938d 100644
--- a/src/conf/virnwfilterobj.h
+++ b/src/conf/virnwfilterobj.h
@@ -29,7 +29,7 @@ typedef virNWFilterObj *virNWFilterObjPtr;
struct _virNWFilterObj {
virMutex lock;
- int wantRemoved;
+ bool wantRemoved;
virNWFilterDefPtr def;
virNWFilterDefPtr newDef;
--
2.9.3