[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 11/13] net: fix coding style nit
From: |
Michael S. Tsirkin |
Subject: |
[Qemu-devel] [PATCH 11/13] net: fix coding style nit |
Date: |
Wed, 30 Sep 2009 19:44:53 +0200 |
User-agent: |
Mutt/1.5.19 (2009-01-05) |
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 <address@hidden>
---
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH 11/13] net: fix coding style nit,
Michael S. Tsirkin <=