Commit id '6df5d777' somehow during the move from one branch to
another added an erroneous '!'...

Signed-off-by: John Ferlan <jfer...@redhat.com>
---

 Pushing under the trivial rule.

  Not quite sure how a git am from my Coverity tree added the not in the
  condition.
  
 tests/virnetserverclienttest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/virnetserverclienttest.c b/tests/virnetserverclienttest.c
index aa3f0bcf9b..1759d76630 100644
--- a/tests/virnetserverclienttest.c
+++ b/tests/virnetserverclienttest.c
@@ -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);
-- 
2.13.6

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to