]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rpc: socket: Minor cleanups
authorCole Robinson <crobinso@redhat.com>
Tue, 12 Jan 2016 01:01:24 +0000 (20:01 -0500)
committerCole Robinson <crobinso@redhat.com>
Tue, 12 Jan 2016 15:45:45 +0000 (10:45 -0500)
commitf102c7146ed7f6e04af0ad3bce302476239f2502
treeebe4fd063c1c2dff273cf3aa258f3d85d3fbc343
parentbc451c49805d067b2074ab18adf4d7b39d6ee3a2
rpc: socket: Minor cleanups

- Add some debugging
- Make the loop dependent only on retries
- Make it explicit that connect(2) success exits the loop
- Invert the error checking logic
src/rpc/virnetsocket.c