X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6de03ecc4e630732984a0673512a5d15fd75e270..290e19f26b10dc49485d7d7b06859edff32fd1e1:/examples/msg/pastry/pastry.c diff --git a/examples/msg/pastry/pastry.c b/examples/msg/pastry/pastry.c index 45300c774b..3c33770c82 100644 --- a/examples/msg/pastry/pastry.c +++ b/examples/msg/pastry/pastry.c @@ -6,7 +6,7 @@ #include #include -#include "msg/msg.h" +#include "simgrid/msg.h" #include "xbt/log.h" #include "xbt/asserts.h" @@ -213,7 +213,7 @@ static void handle_task(node_t node, msg_task_t task) { /* * Try to join the ring */ - case TASK_JOIN:; + case TASK_JOIN: { int next = routing_next(node, task_data->answer_id); XBT_DEBUG("Join request from %08x forwarding to %08x", task_data->answer_id, next); type = TASK_JOIN_LAST_REPLY; @@ -240,7 +240,7 @@ static void handle_task(node_t node, msg_task_t task) { task_sent = MSG_task_create(NULL, COMP_SIZE, COMM_SIZE, req_data); MSG_task_send_with_timeout(task_sent, task_data->answer_to, timeout); break; - + } /* * Join reply from all the node touched by the join */