diff options
author | Zhi Yong Wu <wuzhy@linux.vnet.ibm.com> | 2012-07-20 14:25:52 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-08-01 13:32:11 +0100 |
commit | e34cde35e7c69efcf0bd53d2ff7c90f89a5fc6d0 (patch) | |
tree | 22bad19560314caa71ce0774903a0b84ced3d228 | |
parent | 52a3cb869f7e083d135b11da432a52788a25228e (diff) | |
download | hqemu-e34cde35e7c69efcf0bd53d2ff7c90f89a5fc6d0.zip hqemu-e34cde35e7c69efcf0bd53d2ff7c90f89a5fc6d0.tar.gz |
net: fix the coding style
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>
-rw-r--r-- | net/socket.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c index 65828cd..7857dcd 100644 --- 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; |