A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tiny stuff
[simgrid.git]
/
examples
/
msg
/
app-chainsend
/
peer.c
diff --git
a/examples/msg/app-chainsend/peer.c
b/examples/msg/app-chainsend/peer.c
index
f0f6fb1
..
63fa465
100644
(file)
--- a/
examples/msg/app-chainsend/peer.c
+++ b/
examples/msg/app-chainsend/peer.c
@@
-19,9
+19,8
@@
void peer_init_chain(peer_t peer, message_t msg)
static void peer_forward_msg(peer_t peer, message_t msg)
{
msg_task_t task = task_message_data_new(NULL, msg->data_length);
static void peer_forward_msg(peer_t peer, message_t msg)
{
msg_task_t task = task_message_data_new(NULL, msg->data_length);
- msg_comm_t comm = NULL;
XBT_DEBUG("Sending (isend) from %s into mailbox %s", peer->me, peer->next);
XBT_DEBUG("Sending (isend) from %s into mailbox %s", peer->me, peer->next);
- comm = MSG_task_isend(task, peer->next);
+
msg_comm_t
comm = MSG_task_isend(task, peer->next);
queue_pending_connection(comm, peer->pending_sends);
}
queue_pending_connection(comm, peer->pending_sends);
}