X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/673f3b2361e3e78f58c2110cb98017a008af04e3..e99158dd85fe789ea5e1a40c29f196fa6c715bcf:/examples/msg/kademlia/node.h diff --git a/examples/msg/kademlia/node.h b/examples/msg/kademlia/node.h index 274a3d29bc..06b9a47689 100644 --- a/examples/msg/kademlia/node.h +++ b/examples/msg/kademlia/node.h @@ -1,5 +1,4 @@ - -/* Copyright (c) 2012. The SimGrid Team. +/* Copyright (c) 2012, 2014-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -8,7 +7,7 @@ #ifndef _MSG_EXAMPLES_ROUTING_H #define _MSG_EXAMPLES_ROUTING_H #include "xbt/dynar.h" -#include "msg/msg.h" +#include "simgrid/msg.h" #include "common.h" @@ -31,7 +30,7 @@ typedef struct s_node { msg_comm_t receive_comm; //current receiving communication. msg_task_t task_received; //current task being received - char mailbox[MAILBOX_NAME_SIZE]; //node mailbox + char mailbox[MAILBOX_NAME_SIZE+1]; //node mailbox unsigned int find_node_success; //Number of find_node which have succeeded. unsigned int find_node_failed; //Number of find_node which have failed.