Rewrite poll loop a bit. Put the various message queues into an array
authorclaudio <claudio@openbsd.org>
Fri, 26 Mar 2021 10:01:51 +0000 (10:01 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 26 Mar 2021 10:01:51 +0000 (10:01 +0000)
commit173bcbfa57a012c849435cebd6fc649a0dc2f756
tree5aecebb390e71877b738872704d7448f61950de9
parent7b3a2786b53e2721d66fde5d43ab8725300e4b22
Rewrite poll loop a bit. Put the various message queues into an array
with the same order as the pollfds. This way simple for loops can be
used to setup and handle all cases but POLLIN.
OK tb@
usr.sbin/rpki-client/main.c