]> git.ipfire.org Git - thirdparty/libvirt.git/commit
audit: use bool for audit log choice
authorEric Blake <eblake@redhat.com>
Tue, 28 Oct 2014 19:07:09 +0000 (13:07 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 29 Oct 2014 15:55:09 +0000 (09:55 -0600)
commit0fe384f38e3d32e09dc81b9762da1aa9796d3d6f
tree4294de25f0e89ed75ca070bbdbab41fdad044bdf
parent233ecdea715b4639348b16eaaa35348586a1ea5a
audit: use bool for audit log choice

We weren't ever using the value for anything other than being non-zero.

* src/util/viraudit.h (virAuditLog): Change signature.
* src/util/viraudit.c (virAuditLog): Update user.
* daemon/libvirtd.c (main): Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
daemon/libvirtd.c
src/util/viraudit.c
src/util/viraudit.h