Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix compil without tracing, which was broken multiple times ...
[simgrid.git] / include / msg / datatypes.h
index b76e6c3..e036fc4 100644 (file)
@@ -73,8 +73,8 @@ typedef struct msg_task {
   char *name;                   /**< @brief task name if any */
   simdata_task_t simdata;       /**< @brief simulator data */
   void *data;                   /**< @brief user data */
-#ifdef HAVE_TRACING
   long long int counter;        /* task unique identifier for instrumentation */
+#ifdef HAVE_TRACING
   char *category;               /* task category for instrumentation */
 #endif
 } s_msg_task_t;
@@ -138,7 +138,7 @@ typedef xbt_dictelm_t msg_storage_t;
 typedef s_xbt_dictelm_t s_msg_storage_t;
 
 typedef struct msg_storage_priv  {
-  const char *host;
+  const char *hostname;
   void *data;
 } s_msg_storage_priv_t, *msg_storage_priv_t;