diff --git a/contrib/interconnect/udp/ic_udpifc.c b/contrib/interconnect/udp/ic_udpifc.c index 5c6331448b4..a381b4ea5b9 100644 --- a/contrib/interconnect/udp/ic_udpifc.c +++ b/contrib/interconnect/udp/ic_udpifc.c @@ -6555,7 +6555,7 @@ rxThreadFunc(void *arg) continue; } - if (skip_poll || (n == 1 && (nfd.events & POLLIN))) + if (skip_poll || (n == 1 && (nfd.revents & POLLIN))) { /* we've got something interesting to read */ /* handle incoming */