mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
Update trust-dns.
This commit is contained in:
parent
c6ab5a22b8
commit
1eaf06bf1c
2 changed files with 3 additions and 3 deletions
|
@ -21,8 +21,8 @@ xml5ever = "0.14"
|
|||
native-tls = "0.2"
|
||||
tokio-tls = "0.2"
|
||||
sasl = "0.4"
|
||||
trust-dns-resolver = "0.10"
|
||||
trust-dns-proto = "0.6"
|
||||
trust-dns-resolver = "0.11"
|
||||
trust-dns-proto = "0.7"
|
||||
xmpp-parsers = "0.13"
|
||||
idna = "0.1"
|
||||
quick-xml = "0.13"
|
||||
|
|
|
@ -79,7 +79,7 @@ impl Connecter {
|
|||
// Initialize state
|
||||
match &self_.srv_domain {
|
||||
&Some(ref srv_domain) => {
|
||||
let srv_lookup = resolver.lookup_srv(srv_domain);
|
||||
let srv_lookup = resolver.lookup_srv(srv_domain.clone());
|
||||
self_.state = State::ResolveSrv(resolver, srv_lookup);
|
||||
}
|
||||
None => {
|
||||
|
|
Loading…
Reference in a new issue