Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git] / examples / msg / dht-pastry / dht-pastry.c
index e9fc5d4..1c029d2 100644 (file)
@@ -32,7 +32,7 @@ static int timeout = 50;
 static int max_simulation_time = 1000;
 
 typedef struct s_node {
-  unsigned id;                            //128bits generated random(2^128 -1)
+  unsigned id; // 128bits generated random(2^128 -1)
   unsigned known_id;
   char mailbox[MAILBOX_NAME_SIZE];        // my mailbox name (string representation of the id)
   unsigned namespace_set[NAMESPACE_SIZE];
@@ -63,7 +63,7 @@ typedef enum {
 typedef struct s_task_data {
   e_task_type_t type;                     // type of task
   unsigned sender_id;                     // id parameter (used by some types of tasks)
-  //int request_finger;                     // finger parameter (used by some types of tasks)
+  // int request_finger;                     // finger parameter (used by some types of tasks)
   unsigned answer_id;                     // answer (used by some types of tasks)
   char answer_to[MAILBOX_NAME_SIZE];      // mailbox to send an answer to (if any)
   //const char* issuer_host_name;           // used for logging