From patchwork Wed Mar 21 21:02:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/4] And some final work to complete the coding style upgrade, missed by the previous commit. From: Peter Portante X-Patchwork-Id: 148070 Message-Id: <1332363767-21327-4-git-send-email-peter.portante@redhat.com> To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Peter Portante Date: Wed, 21 Mar 2012 17:02:46 -0400 Signed-off-by: Peter Portante --- 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 }