Skip to content

Commit 0647a0f

Browse files
committed
remove stray mode on callback, seems to not change anything
1 parent 8e9fd72 commit 0647a0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/rt/uv/net.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ pub impl StreamWatcher {
8181
return (*alloc_cb)(suggested_size as uint);
8282
}
8383

84-
extern fn read_cb(stream: *uvll::uv_stream_t, nread: ssize_t, ++buf: Buf) {
84+
extern fn read_cb(stream: *uvll::uv_stream_t, nread: ssize_t, buf: Buf) {
8585
rtdebug!("buf addr: %x", buf.base as uint);
8686
rtdebug!("buf len: %d", buf.len as int);
8787
let mut stream_watcher: StreamWatcher = NativeHandle::from_native_handle(stream);

0 commit comments

Comments
 (0)