qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Portante <peter.portante@redhat.com>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, Peter Portante <pportant@redhat.com>
Subject: [Qemu-devel] [PATCH 3/4] And some final work to complete the coding style upgrade, missed by the previous commit.
Date: Wed, 21 Mar 2012 17:02:46 -0400	[thread overview]
Message-ID: <1332363767-21327-4-git-send-email-peter.portante@redhat.com> (raw)
In-Reply-To: <1332363767-21327-1-git-send-email-peter.portante@redhat.com>

Signed-off-by: Peter Portante <pportant@redhat.com>
---
 slirp/slirp.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/slirp/slirp.c b/slirp/slirp.c
index 40f7523..fd28f17 100644
--- a/slirp/slirp.c
+++ b/slirp/slirp.c
@@ -457,7 +457,7 @@ void slirp_select_poll(fd_set *readfds, fd_set *writefds, fd_set *xfds,
                  * (and they can crash the program)
                  */
                 if (so->so_state & SS_NOFDREF || so->s == -1) {
-                   continue;
+					continue;
                 }
 
                 /*
@@ -535,7 +535,7 @@ void slirp_select_poll(fd_set *readfds, fd_set *writefds, fd_set *xfds,
                  */
 #ifdef PROBE_CONN
                 if (so->so_state & SS_ISFCONNECTING) {
-                    ret = qemu_recv(so->s, &ret, 0,0);
+                    ret = qemu_recv(so->s, &ret, 0, 0);
 
                     if (ret < 0) {
                         /* XXX */
@@ -549,7 +549,7 @@ void slirp_select_poll(fd_set *readfds, fd_set *writefds, fd_set *xfds,
 
                         /* tcp_input will take care of it */
                     } else {
-                        ret = send(so->s, &ret, 0,0);
+                        ret = send(so->s, &ret, 0, 0);
                         if (ret < 0) {
                             /* XXX */
                             if (errno == EAGAIN || errno == EWOULDBLOCK ||
@@ -563,7 +563,7 @@ void slirp_select_poll(fd_set *readfds, fd_set *writefds, fd_set *xfds,
                           so->so_state &= ~SS_ISFCONNECTING;
                         }
                     }
-                    tcp_input((struct mbuf *)NULL, sizeof(struct ip),so);
+                    tcp_input((struct mbuf *)NULL, sizeof(struct ip), so);
                 } /* SS_ISFCONNECTING */
 #endif
             }
-- 
1.7.7.6

  parent reply	other threads:[~2012-03-21 21:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-21 21:02 [Qemu-devel] [PATCH 0/4] More whitespace and coding style clean ups ahead of future changes Peter Portante
2012-03-21 21:02 ` [Qemu-devel] [PATCH 1/4] More whitespace cleanup in preparation for future commits Peter Portante
2012-03-21 21:02 ` [Qemu-devel] [PATCH 2/4] More work to fix up the formatting and the whitespace of this module to conform to the coding standard Peter Portante
2012-03-21 21:02 ` Peter Portante [this message]
2012-03-21 21:02 ` [Qemu-devel] [PATCH 4/4] Yet another missed use of tabs Peter Portante
2012-03-22  0:05 ` [Qemu-devel] [PATCH 0/4] More whitespace and coding style clean ups ahead of future changes Paolo Bonzini
2012-03-22 10:27   ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi
2012-03-22 13:28   ` [Qemu-devel] " Jan Kiszka
2012-03-22 10:57 ` Peter Maydell

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=1332363767-21327-4-git-send-email-peter.portante@redhat.com \
    --to=peter.portante@redhat.com \
    --cc=pportant@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@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).