On Fri, 3 Aug 2012 11:06:22 +0800 Amos Kong <[email protected]> wrote:
> Signed-off-by: Amos Kong <[email protected]> Reviewed-by: Luiz Capitulino <[email protected]> > --- > qemu-sockets.c | 1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --git a/qemu-sockets.c b/qemu-sockets.c > index 668fa93..beb2bb6 100644 > --- 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);
