Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] merging instr_variables.c into instr_interface.c (code re-organization)
[simgrid.git] / src / mc / mc_state.c
index 0547bdb..f6ccb79 100644 (file)
@@ -47,9 +47,9 @@ smx_req_t MC_state_get_request(mc_state_t state)
     if(SIMIX_process_is_enabled(process)
        && !xbt_setset_set_belongs(state->done, process)){
       xbt_setset_set_insert(state->done, process);
-      return process->request;
+      return &process->request;
     }
   }
    
   return NULL;
-}
\ No newline at end of file
+}