From 0d41d9d4311e18a394176650b67f5bfc15179e9c Mon Sep 17 00:00:00 2001 Message-Id: <0d41d9d4311e18a394176650b67f5bfc15179e9c.1367947969.git.minovotn@redhat.com> In-Reply-To: <707b9b97153063374d2530e72c49b1499fc21af9.1367947969.git.minovotn@redhat.com> References: <707b9b97153063374d2530e72c49b1499fc21af9.1367947969.git.minovotn@redhat.com> From: Michal Novotny Date: Tue, 7 May 2013 18:36:56 +0200 Subject: [PATCH 021/114] Revert "qemu-ga: fix confusing GAChannelMethod comparison" This reverts commit aa6a8c7d3232b0d0c51a9e5232a139c58c782080. Reverting as asked by Laszlo in message <51892739.2030807@redhat.com> because of the ordering issue (most likely) related to supersed testing. Signed-off-by: Michal Novotny --- qga/channel-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qga/channel-win32.c b/qga/channel-win32.c index 7ed98d7..16bf44a 100644 --- a/qga/channel-win32.c +++ b/qga/channel-win32.c @@ -287,7 +287,7 @@ GIOStatus ga_channel_write_all(GAChannel *c, const char *buf, size_t size) static gboolean ga_channel_open(GAChannel *c, GAChannelMethod method, const gchar *path) { - if (method != GA_CHANNEL_VIRTIO_SERIAL) { + if (!method == GA_CHANNEL_VIRTIO_SERIAL) { g_critical("unsupported communication method"); return false; } -- 1.7.11.7