event: fix typo in previous patch

Bah, serves me right for merging patches without one last
compile test.

Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Eric Blake 2014-01-07 09:14:09 -07:00
parent 114aa0751e
commit a18b8aada6

View File

@ -221,7 +221,7 @@ testDomainCreateXMLMixed(const void *data)
/* Fun with mixing old and new API. Handler should be fired twice, /* Fun with mixing old and new API. Handler should be fired twice,
* once for each registration. */ * once for each registration. */
if (!(dom = virDomainCreateXML(test->conn, domainDef, 0)) if (!(dom = virDomainCreateXML(test->conn, domainDef, 0)))
goto cleanup; goto cleanup;
id = virConnectDomainEventRegisterAny(test->conn, dom, id = virConnectDomainEventRegisterAny(test->conn, dom,