about summary refs log tree commit diff
path: root/src/libstd/rt/uv/async.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-07-27 01:49:35 -0700
committerbors <bors@rust-lang.org>2013-07-27 01:49:35 -0700
commit15310ba7c2a930a26bf6104f336cf7220eec7dc7 (patch)
treee85d3a47641c3a9f00364996647626f882501c1b /src/libstd/rt/uv/async.rs
parentc5194740a78ec113cb6cbc937e7263e2548f62f6 (diff)
parentdf67942dccc33379051e66f075615e579f3bdb49 (diff)
auto merge of #8040 : luqmana/rust/rtn, r=brson
Implements various missing tcp & udp methods.. Also fixes handling ipv4-mapped/compatible ipv6 addresses and addresses the XXX on `status_to_maybe_uv_error`.

r? @brson 
Diffstat (limited to 'src/libstd/rt/uv/async.rs')
-rw-r--r--src/libstd/rt/uv/async.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/uv/async.rs b/src/libstd/rt/uv/async.rs
index 81428509e33..47e0a240e45 100644
--- a/src/libstd/rt/uv/async.rs
+++ b/src/libstd/rt/uv/async.rs
@@ -34,7 +34,7 @@ impl AsyncWatcher {
 
         extern fn async_cb(handle: *uvll::uv_async_t, status: c_int) {
             let mut watcher: AsyncWatcher = NativeHandle::from_native_handle(handle);
-            let status = status_to_maybe_uv_error(watcher.native_handle(), status);
+            let status = status_to_maybe_uv_error(watcher, status);
             let data = watcher.get_watcher_data();
             let cb = data.async_cb.get_ref();
             (*cb)(watcher, status);