diff options
author | Markus Armbruster <armbru@redhat.com> | 2014-05-19 18:57:37 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-05-21 11:57:57 +0200 |
commit | 3f9286b7214fbc7135d4fc223f07b0b30b91e2f1 (patch) | |
tree | c3e451de4f349387aa6aa0d655fa3d7b15504054 /fpu | |
parent | c5fa6c86d0765f837515d1c10654c621724a77e0 (diff) |
qemu-socket: Clean up inet_connect_opts()
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 <armbru@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'fpu')
0 files changed, 0 insertions, 0 deletions