Skip to contentSkip to conversation

net: fix the coding style

PATCH In review [email protected] 1 participant 1 message Jun 12, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v6 1/2 net: fix the coding style

From: Zhi Yong Wu <[email protected]>

---
 net/socket.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
net/socket.c +3 -1
index fcd0a3c..7194345 100644
@@ -301,7 +301,9 @@ static NetSocketState *net_socket_fd_init_dgram(VLANState *vlan,
     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;
 
Signature · 1 line
1.7.6