]> git.ipfire.org Git - thirdparty/libvirt.git/commit
audit: fix minor off-by-one
authorEric Blake <eblake@redhat.com>
Thu, 26 May 2011 15:09:42 +0000 (09:09 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 26 May 2011 17:17:55 +0000 (11:17 -0600)
commit59953c381251f7a1fcf8db0a40be2e96b8d742b5
tree594a735ca08c43de0ead98b47601c5f2b3ee8a06
parent18c2a592064d69499f70428e498f4a3cb5161cda
audit: fix minor off-by-one

Coverity spotted this off-by-one.  Thankfully, no one in libvirt
was ever calling virAuditSend with an argument of 3.

* src/util/virtaudit.c (virAuditSend): Use correct comparison.
src/util/virtaudit.c