From 0647a0fc2812ec1ea797168def80936b67688391 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Mon, 1 Apr 2013 14:18:07 -0700 Subject: [PATCH] remove stray mode on callback, seems to not change anything --- src/libcore/rt/uv/net.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/rt/uv/net.rs b/src/libcore/rt/uv/net.rs index edd3b379fbcc4..29ea36cd88b03 100644 --- a/src/libcore/rt/uv/net.rs +++ b/src/libcore/rt/uv/net.rs @@ -81,7 +81,7 @@ pub impl StreamWatcher { return (*alloc_cb)(suggested_size as uint); } - extern fn read_cb(stream: *uvll::uv_stream_t, nread: ssize_t, ++buf: Buf) { + extern fn read_cb(stream: *uvll::uv_stream_t, nread: ssize_t, buf: Buf) { rtdebug!("buf addr: %x", buf.base as uint); rtdebug!("buf len: %d", buf.len as int); let mut stream_watcher: StreamWatcher = NativeHandle::from_native_handle(stream);