diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2020-08-27 13:27:00 +0100 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2020-09-16 10:33:48 +0100 |
commit | 60efffa41b34cc299fed65b67e2c2641846d592b (patch) | |
tree | 2a74b654cdb44e7e384de3be9bddb015d99d1f8b /.editorconfig | |
parent | de39a045bd8d2b49e4f3d07976622c29d58e0bac (diff) |
monitor: simplify functions for getting a dup'd fdset entry
Currently code has to call monitor_fdset_get_fd, then dup
the return fd, and then add the duplicate FD back into the
fdset. This dance is overly verbose for the caller and
introduces extra failure modes which can be avoided by
folding all the logic into monitor_fdset_dup_fd_add and
removing monitor_fdset_get_fd entirely.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to '.editorconfig')
0 files changed, 0 insertions, 0 deletions