diff --git a/src/nal_tcp_client.rs b/src/nal_tcp_client.rs index 5e67962..314a60c 100644 --- a/src/nal_tcp_client.rs +++ b/src/nal_tcp_client.rs @@ -56,7 +56,7 @@ impl<'a, 'b, 'c, 'n> NetworkStack<'a, 'b, 'c, 'n> { self.network_interface.poll_delay( &mut self.sockets.borrow_mut(), net::time::Instant::from_millis(time as i64), - ).map_or(1000, |next_poll_time| next_poll_time.total_millis() as u32) + ).map_or(0, |next_poll_time| next_poll_time.total_millis() as u32) } pub fn update(&mut self, time: u32) -> bool {