diff --git a/axfer/waiter-select.c b/axfer/waiter-select.c index a2776e5..9dc549b 100644 --- a/axfer/waiter-select.c +++ b/axfer/waiter-select.c @@ -91,7 +91,7 @@ static int select_wait_event(struct waiter_context *waiter, int timeout_msec) pfd->revents |= POLLHUP; } - return 0; + return err; } static void select_release(struct waiter_context *waiter)