Re: [Qemu-devel] [PATCH 4/3] qemu-socket: Clean up inet_connect_opts()

2014-04-29 Thread Paolo Bonzini
Il 29/04/2014 08:28, Markus Armbruster ha scritto: Separate the search for a working addrinfo from the code that does something with it. Makes for a clearer search loop. Use a local Error * to simplify resetting the error in the search loop. Signed-off-by: Markus Armbruster --- Forgot to incl

Re: [Qemu-devel] [PATCH 4/3] qemu-socket: Clean up inet_connect_opts()

2014-04-28 Thread Markus Armbruster
In-Reply-To missing, sorry! Markus Armbruster writes: > Separate the search for a working addrinfo from the code that does > something with it. Makes for a clearer search loop. > > Use a local Error * to simplify resetting the error in the search > loop. > > Signed-off-by: Markus Armbruster >

[Qemu-devel] [PATCH 4/3] qemu-socket: Clean up inet_connect_opts()

2014-04-28 Thread Markus Armbruster
Separate the search for a working addrinfo from the code that does something with it. Makes for a clearer search loop. Use a local Error * to simplify resetting the error in the search loop. Signed-off-by: Markus Armbruster --- Forgot to include this one. inet_connect_opts() admittedly isn't i