commit | 8db9415f2aeb0afd965132974b950c4d7a633017 | [log] [tgz] |
---|---|---|
author | Matt Johnston <matt@ucc.asn.au> | Tue Jun 21 22:04:30 2016 +0800 |
committer | Matt Johnston <matt@ucc.asn.au> | Tue Jun 21 22:04:30 2016 +0800 |
tree | 039a7732af0491bc01fbf2f6b5f8bdd029240434 | |
parent | dd19d73db4e5d6bd8a28120629644ee01824d450 [diff] | |
parent | e0c6e819c28a5c866cd3437599b8e979b23f0627 [diff] |
merge
diff --git a/netio.c b/netio.c index 046b5f4..2e57534 100644 --- a/netio.c +++ b/netio.c
@@ -61,7 +61,7 @@ { dropbear_assert(c->sock == -1); - c->sock = socket(c->res_iter->ai_family, c->res_iter->ai_socktype, c->res_iter->ai_protocol); + c->sock = socket(r->ai_family, r->ai_socktype, r->ai_protocol); if (c->sock < 0) { continue; }