]> Git Repo - qemu.git/commit
char-socket: fix error reporting
authorAnthony Liguori <[email protected]>
Tue, 5 Mar 2013 17:51:16 +0000 (23:21 +0530)
committerAnthony Liguori <[email protected]>
Fri, 8 Mar 2013 19:57:12 +0000 (13:57 -0600)
commitbaca6f183d78a0c864a5ccc0ec64e26ba960e604
tree24fdd8f553c0af3a4e92ccaa7e318601c1793113
parent0bc472a9d6b80567c212023c5eae413f4dfb53ad
char-socket: fix error reporting

Right now the inet connect code tries all available addresses but until one
doesn't fail.  It passes local_err each time without clearing it from the
previous failure.  This can trigger an assert since the inet connect code
tries to set an error on an object != NULL.

Signed-off-by: Anthony Liguori <[email protected]>
Signed-off-by: Amit Shah <[email protected]>
Message-id: 16c806d60aa5e9660ed7751bb4e37dcd278f97f0.1362505276[email protected]
Signed-off-by: Anthony Liguori <[email protected]>
util/qemu-sockets.c
This page took 0.025287 seconds and 4 git commands to generate.