Commit 7f55021c authored by Daniel P. Berrange's avatar Daniel P. Berrange

Fix check version for secret events API

Signed-off-by: default avatarDaniel P. Berrange <berrange@redhat.com>
parent aa767f8d
......@@ -35,7 +35,7 @@ package libvirt
int virConnectSecretEventDeregisterAnyCompat(virConnectPtr conn,
int callbackID)
{
#if LIBVIR_VERSION_NUMBER < 1002001
#if LIBVIR_VERSION_NUMBER < 3000000
assert(0); // Caller should have checked version
#else
return virConnectSecretEventDeregisterAny(conn, callbackID);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment