projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
536c86f
)
socket: clean up redundant assignment
author
Amos Kong
<akong@redhat.com>
Fri, 3 Aug 2012 03:06:22 +0000
(11:06 +0800)
committer
Stefan Hajnoczi
<stefanha@linux.vnet.ibm.com>
Fri, 3 Aug 2012 13:25:21 +0000
(14:25 +0100)
Signed-off-by: Amos Kong <akong@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
qemu-sockets.c
patch
|
blob
|
history
diff --git
a/qemu-sockets.c
b/qemu-sockets.c
index 668fa932941499cdefdf2657da7927233af680a4..beb2bb6f4a21f120c877ebf16a41d909d4d6fa57 100644
(file)
--- a/
qemu-sockets.c
+++ b/
qemu-sockets.c
@@
-284,7
+284,6
@@
int inet_connect_opts(QemuOpts *opts, Error **errp)
inet_strfamily(e->ai_family),
e->ai_canonname, uaddr, uport, strerror(errno));
closesocket(sock);
- sock = -1;
continue;
}
freeaddrinfo(res);