Fix missed pattern on std::net_tcp.

This commit is contained in:
Graydon Hoare 2012-09-28 12:29:37 -07:00
parent 70c202e218
commit 7e8c363da8
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ fn connect(+input_ip: ip::IpAddr, port: uint,
ptr::addr_of(in_addr),
tcp_connect_on_connect_cb)
}
ip::Ipv6(addr) => {
ip::Ipv6(ref addr) => {
log(debug, fmt!("addr: %?", addr));
let in_addr = uv::ll::ip6_addr(addr_str, port as int);
uv::ll::tcp_connect6(