diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2009-09-30 18:56:44 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-09-30 18:56:44 +0000 |
commit | acedcfbf7a9a29c772f613bafac9f3430faa6347 (patch) | |
tree | 5c206502b999ed7cf40f4069de7e9c06327bae5e /net.c | |
parent | e8bbe36c03c6044953aa5b3fa8bcd7cb7b7b88e3 (diff) | |
download | qemu-acedcfbf7a9a29c772f613bafac9f3430faa6347.zip qemu-acedcfbf7a9a29c772f613bafac9f3430faa6347.tar.gz qemu-acedcfbf7a9a29c772f613bafac9f3430faa6347.tar.bz2 |
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 <mst@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'net.c')
-rw-r--r-- | net.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |