mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
tests: Fix incorrect check for virNetServerClientClose call
Commit id '6df5d777' somehow during the move from one branch to another added an erroneous '!'... Signed-off-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
parent
6477dcc88e
commit
b78c9c86da
@ -152,7 +152,7 @@ static int testIdentity(const void *opaque ATTRIBUTE_UNUSED)
|
||||
ret = 0;
|
||||
cleanup:
|
||||
virObjectUnref(sock);
|
||||
if (!client)
|
||||
if (client)
|
||||
virNetServerClientClose(client);
|
||||
virObjectUnref(client);
|
||||
virObjectUnref(ident);
|
||||
|
Loading…
Reference in New Issue
Block a user