[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/4] And some final work to complete the coding styl
From: |
Peter Portante |
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 |
Signed-off-by: Peter Portante <address@hidden>
---
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
- [Qemu-devel] [PATCH 0/4] More whitespace and coding style clean ups ahead of future changes, Peter Portante, 2012/03/21
- [Qemu-devel] [PATCH 4/4] Yet another missed use of tabs., Peter Portante, 2012/03/21
- [Qemu-devel] [PATCH 3/4] And some final work to complete the coding style upgrade, missed by the previous commit.,
Peter Portante <=
- [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
- [Qemu-devel] [PATCH 1/4] More whitespace cleanup in preparation for future commits., Peter Portante, 2012/03/21
- Re: [Qemu-devel] [PATCH 0/4] More whitespace and coding style clean ups ahead of future changes, Paolo Bonzini, 2012/03/21
- Re: [Qemu-devel] [PATCH 0/4] More whitespace and coding style clean ups ahead of future changes, Peter Maydell, 2012/03/22