aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/tls.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/tls.rs b/src/server/tls.rs
index 1edec77..095c26d 100644
--- a/src/server/tls.rs
+++ b/src/server/tls.rs
@@ -103,7 +103,7 @@ impl Server {
fn poll_server(&mut self) -> Result<crate::component_future::Poll<()>> {
match self.server.poll()? {
futures::Async::Ready(()) => {
- Ok(crate::component_future::Poll::DidWork)
+ Ok(crate::component_future::Poll::Event(()))
}
futures::Async::NotReady => {
Ok(crate::component_future::Poll::NotReady)