Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Commit

Permalink
Update search.rs
Browse files Browse the repository at this point in the history
( I did all these with the web client hence the multiple commits )
  • Loading branch information
CDuPlooy committed Jul 18, 2019
1 parent 7fbfe33 commit b31fd89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aio/search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ impl Future for SearchFuture {

match addr {
SocketAddr::V4(a) => {
let g = Gateway::new(*a, url[0]);
let g = Gateway::new(*a, url[0].clone());
return Ok(Async::Ready(g));
}
_ => warn!("unsupported IPv6 gateway response from addr: {}", addr),
Expand Down

0 comments on commit b31fd89

Please sign in to comment.