Skip to content

Commit

Permalink
remove stray mode on callback, seems to not change anything
Browse files Browse the repository at this point in the history
  • Loading branch information
graydon committed Apr 1, 2013
1 parent 8e9fd72 commit 0647a0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/rt/uv/net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

5 comments on commit 0647a0f

@bors
Copy link
Contributor

@bors bors commented on 0647a0f Apr 2, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from catamorphism
at graydon@0647a0f

@bors
Copy link
Contributor

@bors bors commented on 0647a0f Apr 2, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging graydon/rust/remove-a-mode = 0647a0f into auto

@bors
Copy link
Contributor

@bors bors commented on 0647a0f Apr 2, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

graydon/rust/remove-a-mode = 0647a0f merged ok, testing candidate = 78b5371

@bors
Copy link
Contributor

@bors bors commented on 0647a0f Apr 2, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 0647a0f Apr 2, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding incoming to auto = 78b5371

Please sign in to comment.