]> AND Public Git Repository - simgrid.git/blobdiff - examples/msg/kademlia/node.h
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
stupid old gcc. That's initialized.
[simgrid.git] / examples / msg / kademlia / node.h
index 274a3d29bc17dfeaa3eb97bdd6d3601e56e0bc49..e93549b7c8df23801db51dba2f79ca78e21efb30 100644 (file)
@@ -1,5 +1,4 @@
-
-/* Copyright (c) 2012. The SimGrid Team.
+/* Copyright (c) 2012, 2014. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -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.