Cleanup: keep the number of pipes used by poll in a variable
authorJulien Desfossez <jdesfossez@efficios.com>
Mon, 11 Dec 2017 21:13:19 +0000 (16:13 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 8 Mar 2018 19:43:32 +0000 (14:43 -0500)
commit261de6373c70dcd52421642db5486747e9c10bae
treea8b8934ffefef42fb865d521eb23fbe396b536e5
parentd2d2f190a6cd2c77b9eef563518e3a2705c6e3bc
Cleanup: keep the number of pipes used by poll in a variable

The "2" hardcoded at multiple places in the consumer is prone to error
when adding new FDs. Keep it all in one place to make it easier next
time we modify it.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/consumer/consumer.c
This page took 0.024796 seconds and 4 git commands to generate.