summaryrefslogtreecommitdiff
path: root/qemu-char.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2014-05-19 18:57:37 +0200
committerGerd Hoffmann <kraxel@redhat.com>2014-05-21 11:57:57 +0200
commit3f9286b7214fbc7135d4fc223f07b0b30b91e2f1 (patch)
treec3e451de4f349387aa6aa0d655fa3d7b15504054 /qemu-char.c
parentc5fa6c86d0765f837515d1c10654c621724a77e0 (diff)
downloadqemu-3f9286b7214fbc7135d4fc223f07b0b30b91e2f1.tar.gz
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 'qemu-char.c')
0 files changed, 0 insertions, 0 deletions