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

2014-04-29 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 arm...@redhat.com --- Forgot to include this one. inet_connect_opts()

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

2014-04-29 Thread Markus Armbruster
In-Reply-To missing, sorry! Markus Armbruster arm...@redhat.com 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

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 arm...@redhat.com