Browse Source

Update lib.rs (#130)

Fix #129
pull/141/head
James Brown 2 years ago
committed by GitHub
parent
commit
48f527ad81
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/lib.rs

2
src/lib.rs

@ -134,7 +134,7 @@ async fn create_udp_stream(socket_queue: &Option<Arc<SocketQueue>>, peer: Socket
Some(queue) => {
let socket = queue.recv_udp(peer.ip().into()).await?;
socket.connect(peer).await?;
UdpStream::from_tokio(socket).await
UdpStream::from_tokio(socket, peer).await
}
}
}

Loading…
Cancel
Save