Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
mimic host behavior, works better this way
authorsuter <frederic.suter@cc.in2p3.fr>
Wed, 25 Sep 2013 16:23:29 +0000 (18:23 +0200)
committersuter <frederic.suter@cc.in2p3.fr>
Wed, 25 Sep 2013 16:23:29 +0000 (18:23 +0200)
src/msg/msg_io.c

index 4a140f9..99ac05b 100644 (file)
@@ -263,7 +263,7 @@ void MSG_storage_set_property_value(msg_storage_t storage, const char *name, cha
  */
 msg_storage_t MSG_storage_get_by_name(const char *name)
 {
-  return (msg_storage_t) xbt_lib_get_or_null(storage_lib,name, MSG_STORAGE_LEVEL);
+  return (msg_storage_t) xbt_lib_get_elm_or_null(storage_lib,name);
 }
 
 /** \ingroup msg_storage_management