Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rename the Storage fields to follow our naming conventions
[simgrid.git] / src / surf / surf_c_bindings.cpp
index 561dc5f..74ade32 100644 (file)
@@ -283,7 +283,7 @@ xbt_dict_t surf_storage_get_properties(surf_resource_t resource){
 }
 
 const char* surf_storage_get_host(surf_resource_t resource){
-  return static_cast<simgrid::surf::Storage*>(surf_storage_resource_priv(resource))->p_attach;
+  return static_cast<simgrid::surf::Storage*>(surf_storage_resource_priv(resource))->attach_;
 }
 
 void surf_cpu_action_set_bound(surf_action_t action, double bound) {