diff --git a/src/client_bind.rs b/src/client_bind.rs index 24238f6..ac85a9c 100644 --- a/src/client_bind.rs +++ b/src/client_bind.rs @@ -112,7 +112,7 @@ impl Future for ClientBind { replace(self, ClientBind::WaitRecv(stream)); self.poll() }, - Ok(_) => { + Ok(Async::NotReady) => { replace(self, ClientBind::WaitRecv(stream)); Ok(Async::NotReady) },