projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52a3cb8
)
net: fix the coding style
author
Zhi Yong Wu
<wuzhy@linux.vnet.ibm.com>
Fri, 20 Jul 2012 13:25:52 +0000
(14:25 +0100)
committer
Stefan Hajnoczi
<stefanha@linux.vnet.ibm.com>
Wed, 1 Aug 2012 12:32:11 +0000
(13:32 +0100)
Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
net/socket.c
patch
|
blob
|
history
diff --git
a/net/socket.c
b/net/socket.c
index 65828cd3ba5a8e92a9ce457d5faea72f90332fc4..7857dcdf8d592695fd79ad3275761692a40c8417 100644
(file)
--- a/
net/socket.c
+++ b/
net/socket.c
@@
-301,7
+301,9
@@
static NetSocketState *net_socket_fd_init_dgram(NetClientState *peer,
qemu_set_fd_handler(s->fd, net_socket_send_dgram, NULL, s);
/* mcast: save bound address as dst */
- if (is_connected) s->dgram_dst=saddr;
+ if (is_connected) {
+ s->dgram_dst = saddr;
+ }
return s;