From: "Michael S. Tsirkin" <mst@redhat.com>
To: Blue Swirl <blauwirbel@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 11/13] net: fix coding style nit
Date: Wed, 30 Sep 2009 19:44:53 +0200 [thread overview]
Message-ID: <20090930174453.GL1399@redhat.com> (raw)
In-Reply-To: <cover.1254332572.git.mst@redhat.com>
Put space between = and - assigning a negative number
to avoid confusion with old-style "-="
(which we also have, and need to be fixed).
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
net.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net.c b/net.c
index 3fdf1e6..2686f78 100644
--- a/net.c
+++ b/net.c
@@ -2044,7 +2044,7 @@ static NetSocketState *net_socket_fd_init(VLANState *vlan,
const char *model, const char *name,
int fd, int is_connected)
{
- int so_type=-1, optlen=sizeof(so_type);
+ int so_type = -1, optlen=sizeof(so_type);
if(getsockopt(fd, SOL_SOCKET, SO_TYPE, (char *)&so_type,
(socklen_t *)&optlen)< 0) {
--
1.6.5.rc2
next prev parent reply other threads:[~2009-09-30 17:46 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1254332572.git.mst@redhat.com>
2009-09-30 17:43 ` [Qemu-devel] [PATCH 01/13] vvfat: fix coding style nit Michael S. Tsirkin
2009-09-30 17:43 ` [Qemu-devel] [PATCH 02/13] elfload: " Michael S. Tsirkin
2009-09-30 17:43 ` [Qemu-devel] [PATCH 03/13] gdbstub: " Michael S. Tsirkin
2009-09-30 17:43 ` [Qemu-devel] [PATCH 04/13] escc: " Michael S. Tsirkin
2009-09-30 17:44 ` [Qemu-devel] [PATCH 05/13] omap_dma: fix unbalanced { in commented out code Michael S. Tsirkin
2009-09-30 17:44 ` [Qemu-devel] [PATCH 06/13] twl92230: fix old style increment/decrement usage Michael S. Tsirkin
2009-09-30 17:44 ` [Qemu-devel] [PATCH 07/13] linux-user: fix old style decrement usage Michael S. Tsirkin
2009-09-30 17:44 ` [Qemu-devel] [PATCH 08/13] target-mips: unmatched brackets in if 0 Michael S. Tsirkin
2009-09-30 17:44 ` [Qemu-devel] [PATCH 09/13] tests: " Michael S. Tsirkin
2009-09-30 18:59 ` [Qemu-devel] " Blue Swirl
2009-09-30 20:14 ` [Qemu-devel] " Markus Armbruster
2009-09-30 17:44 ` [Qemu-devel] [PATCH 10/13] linux-user: fix coding style nit Michael S. Tsirkin
2009-09-30 17:44 ` Michael S. Tsirkin [this message]
2009-09-30 17:45 ` [Qemu-devel] [PATCH 12/13] slirp: fix unmatched bracket in if 0 Michael S. Tsirkin
2009-09-30 17:45 ` [Qemu-devel] [PATCH 13/13] escc: fix another coding style nit Michael S. Tsirkin
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=20090930174453.GL1399@redhat.com \
--to=mst@redhat.com \
--cc=blauwirbel@gmail.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).