Patchwork [3/4] And some final work to complete the coding style upgrade, missed by the previous commit.

login
register
mail settings
Submitter Peter Portante
Date March 21, 2012, 9:02 p.m.
Message ID <1332363767-21327-4-git-send-email-peter.portante@redhat.com>
Download mbox | patch
Permalink /patch/148070/
State New
Headers show

Comments

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

Patch

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
             }