Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
raise exception if try to find a container that was not created
authorLucas Schnorr <Lucas.Schnorr@imag.fr>
Sat, 9 Apr 2011 09:55:04 +0000 (11:55 +0200)
committerLucas Schnorr <Lucas.Schnorr@imag.fr>
Sat, 9 Apr 2011 09:55:04 +0000 (11:55 +0200)
src/instr/instr_paje.c

index 74cb881..0d32eda 100644 (file)
@@ -252,7 +252,7 @@ container_t getContainer (const char *name)
 
 container_t getContainerByName (const char *name)
 {
-  return (container_t)xbt_dict_get_or_null (allContainers, name);
+  return (container_t)xbt_dict_get (allContainers, name);
 }
 
 char *getContainerIdByName (const char *name)