diff options
| author | Markus Armbruster | 2014-05-19 18:57:37 +0200 |
|---|---|---|
| committer | Gerd Hoffmann | 2014-05-21 11:57:57 +0200 |
| commit | 3f9286b7214fbc7135d4fc223f07b0b30b91e2f1 (patch) | |
| tree | c3e451de4f349387aa6aa0d655fa3d7b15504054 /scripts/checkpatch.pl | |
| parent | Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into staging (diff) | |
| download | qemu-3f9286b7214fbc7135d4fc223f07b0b30b91e2f1.tar.gz qemu-3f9286b7214fbc7135d4fc223f07b0b30b91e2f1.tar.xz qemu-3f9286b7214fbc7135d4fc223f07b0b30b91e2f1.zip | |
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 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
