mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-28 21:03:54 -06:00
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>
This commit is contained in:
parent
52a3cb869f
commit
e34cde35e7
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
qemu_set_fd_handler(s->fd, net_socket_send_dgram, NULL, s);
|
||||||
|
|
||||||
/* mcast: save bound address as dst */
|
/* mcast: save bound address as dst */
|
||||||
if (is_connected) s->dgram_dst=saddr;
|
if (is_connected) {
|
||||||
|
s->dgram_dst = saddr;
|
||||||
|
}
|
||||||
|
|
||||||
return s;
|
return s;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue