qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: marcandre.lureau@redhat.com
To: qemu-devel@nongnu.org
Cc: "Marc-André Lureau" <marcandre.lureau@redhat.com>,
	lersek@redhat.com, mdroth@linux.vnet.ibm.com
Subject: [Qemu-devel] [PATCH 1/5] qga: use more idiomatic qemu-style eol operators
Date: Wed, 17 Feb 2016 17:47:51 +0100	[thread overview]
Message-ID: <1455727675-20625-2-git-send-email-marcandre.lureau@redhat.com> (raw)
In-Reply-To: <1455727675-20625-1-git-send-email-marcandre.lureau@redhat.com>

From: Marc-André Lureau <marcandre.lureau@redhat.com>

Reported-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 qga/commands-win32.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/qga/commands-win32.c b/qga/commands-win32.c
index cf0757c..7baacc7 100644
--- a/qga/commands-win32.c
+++ b/qga/commands-win32.c
@@ -1248,9 +1248,9 @@ get_net_error_message(gint error)
     wchar_t *msg = NULL;
     int flags, nchars;
 
-    flags = FORMAT_MESSAGE_ALLOCATE_BUFFER
-        |FORMAT_MESSAGE_IGNORE_INSERTS
-        |FORMAT_MESSAGE_FROM_SYSTEM;
+    flags = FORMAT_MESSAGE_ALLOCATE_BUFFER |
+        FORMAT_MESSAGE_IGNORE_INSERTS |
+        FORMAT_MESSAGE_FROM_SYSTEM;
 
     if (error >= NERR_BASE && error <= MAX_NERR) {
         module = LoadLibraryExW(L"netmsg.dll", NULL, LOAD_LIBRARY_AS_DATAFILE);
-- 
2.5.0

  reply	other threads:[~2016-02-17 16:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-17 16:47 [Qemu-devel] [PATCH 0/5] qga: win32 guest-set-user-password improvements marcandre.lureau
2016-02-17 16:47 ` marcandre.lureau [this message]
2016-02-24 15:34   ` [Qemu-devel] [PATCH 1/5] qga: use more idiomatic qemu-style eol operators Michael Roth
2016-02-17 16:47 ` [Qemu-devel] [PATCH 2/5] qga: use size_t for wcslen() return value marcandre.lureau
2016-02-24 15:34   ` Michael Roth
2016-02-17 16:47 ` [Qemu-devel] [PATCH 3/5] qga: use wide-chars constants for wchar_t comparisons marcandre.lureau
2016-02-24 15:35   ` Michael Roth
2016-02-17 16:47 ` [Qemu-devel] [PATCH 4/5] qga: fix off-by-one length check marcandre.lureau
2016-02-24 15:37   ` Michael Roth
2016-02-17 16:47 ` [Qemu-devel] [PATCH 5/5] qga: check utf8-to-utf16 conversion marcandre.lureau
2016-02-24 15:38   ` Michael Roth
2016-02-17 17:02 ` [Qemu-devel] [PATCH 0/5] qga: win32 guest-set-user-password improvements Laszlo Ersek
2016-02-25  2:09 ` Michael Roth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1455727675-20625-2-git-send-email-marcandre.lureau@redhat.com \
    --to=marcandre.lureau@redhat.com \
    --cc=lersek@redhat.com \
    --cc=mdroth@linux.vnet.ibm.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).