[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 4/3] qemu-socket: Clean up inet_connect_opts()
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH 4/3] qemu-socket: Clean up inet_connect_opts() |
Date: |
Tue, 29 Apr 2014 08:31:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
In-Reply-To missing, sorry!
Markus Armbruster <address@hidden> 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 <address@hidden>
> ---
> Forgot to include this one. inet_connect_opts() admittedly isn't in
> the character backend subsystem, just used by it. Hope it's close
> enough for review and commit.
>
> util/qemu-sockets.c | 28 ++++++++++++++++------------
> 1 file changed, 16 insertions(+), 12 deletions(-)