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:
John Ferlan 2018-04-19 14:37:00 -04:00
parent 6477dcc88e
commit b78c9c86da

View File

@ -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);