diff options
-rw-r--r-- | librabbitmq/amqp_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/librabbitmq/amqp_socket.c b/librabbitmq/amqp_socket.c index 0036544..f581fc9 100644 --- a/librabbitmq/amqp_socket.c +++ b/librabbitmq/amqp_socket.c @@ -360,7 +360,7 @@ int amqp_open_socket_noblock(char const *hostname, int timeout_ms; pfd.fd = sockfd; - pfd.events = POLLERR | POLLOUT; + pfd.events = POLLOUT; pfd.revents = 0; timer_error = amqp_timer_update(&timer, timeout); |