From nobody Fri Apr 26 22:48:06 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1559674975; cv=none; d=zoho.com; s=zohoarc; b=ap/ooutCPOhf5YTkhoY8ZLNi26ae/rCAqOzsDjfTUTOkF4eEq9m+SPjhhsTnhzEQzJRl0BKJhCcuuXGF8BZ8l3pUB9flsNKSpnvTXpOYLdJWcSvZKom4C8o2Gy7HOlct4Y3DqekwKaOhx0gMk32HxJmFS5s/NaK+wYmgoDGWDxE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1559674975; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=efMRY9C/3xKUBooiR3n3SbujnS8Q55Qa6f4O+AEJ7Is=; b=SyiehiH8cIicUJ8EZY8TOuBm9sQBXdCI81EYvxQ22Kb6LZoAQTUirG0BShuLOtSJSfJ31rdfNE9GiUd8KPN+hFZFhy7Disn9vhVPfMe/83+NBkvsr0ketuFAxgZOY3s44NJ2jv0Ec/XAMs966H4Qpa92WNgt1XPYXEQ1i9SCDRs= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1559674975192707.0694615914033; Tue, 4 Jun 2019 12:02:55 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C51F43107B05; Tue, 4 Jun 2019 19:01:59 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 506A360589; Tue, 4 Jun 2019 19:01:48 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id BA2E91806B15; Tue, 4 Jun 2019 19:01:30 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x54J1Rmj008776 for ; Tue, 4 Jun 2019 15:01:27 -0400 Received: by smtp.corp.redhat.com (Postfix) id A248D5B684; Tue, 4 Jun 2019 19:01:27 +0000 (UTC) Received: from ridgehead.redhat.com (ovpn-200-18.brq.redhat.com [10.40.200.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id D78795B683; Tue, 4 Jun 2019 19:01:24 +0000 (UTC) From: Erik Skultety To: libvir-list@redhat.com Date: Tue, 4 Jun 2019 21:01:22 +0200 Message-Id: <08ad83eee133d6bac27865d9321e399db7bbe29e.1559674862.git.eskultet@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com Cc: Erik Skultety Subject: [libvirt] [PATCH] tests: Fix parentheses order in an assignment-comparison conditional X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.47]); Tue, 04 Jun 2019 19:02:46 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=3D1717090 Signed-off-by: Erik Skultety --- Pushed as trivial. tests/testutilsqemu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testutilsqemu.c b/tests/testutilsqemu.c index bce847ce5e..9ac9f9bd39 100644 --- a/tests/testutilsqemu.c +++ b/tests/testutilsqemu.c @@ -918,7 +918,7 @@ testQemuCapsIterate(const char *suffix, if (virDirOpen(&dir, TEST_QEMU_CAPS_PATH) < 0) goto cleanup; - while ((rc =3D virDirRead(dir, &ent, TEST_QEMU_CAPS_PATH) > 0)) { + while ((rc =3D virDirRead(dir, &ent, TEST_QEMU_CAPS_PATH)) > 0) { char *tmp =3D ent->d_name; char *base =3D NULL; char *archName =3D NULL; -- 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list