rt: Move rust_chan::send to rust_port::send

This commit is contained in:
Brian Anderson
2011-11-10 17:53:19 -08:00
parent 371574f64b
commit 793da65a8e
7 changed files with 33 additions and 36 deletions

View File

@@ -498,7 +498,7 @@ chan_id_send(type_desc *t, rust_task_id target_task_id,
if(target_task) {
rust_port *port = target_task->get_port_by_id(target_port_id);
if(port) {
port->remote_chan->send(sptr);
port->send(sptr);
}
target_task->deref();
}