From: Michael S. Tsirkin Date: Wed, 30 Sep 2009 18:56:44 +0000 (+0000) Subject: net: fix coding style nit X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~10418 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=acedcfbf7a9a29c772f613bafac9f3430faa6347;p=sdk%2Femulator%2Fqemu.git net: fix coding style nit 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 Signed-off-by: Blue Swirl --- 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) {