removed unncessary unsafe block that was stopping compliation.
This commit is contained in:
parent
4870dce3eb
commit
1af2016358
1 changed files with 1 additions and 1 deletions
|
|
@ -336,7 +336,7 @@ impl UdpWatcher {
|
|||
let cb = data.udp_recv_cb.get_ref();
|
||||
let status = status_to_maybe_uv_error(handle, nread as c_int);
|
||||
let address = uv_ip4_to_ip4(addr);
|
||||
unsafe { (*cb)(udp_watcher, nread as int, buf, address, flags as uint, status) };
|
||||
(*cb)(udp_watcher, nread as int, buf, address, flags as uint, status);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue