#include "xbt/sysdep.h"
#include "xbt/log.h"
#include "surf/surf_parse_private.h"
-XBT_LOG_NEW_DEFAULT_SUBCATEGORY(deployment, msg,
- "Logging specific to MSG (environment)");
static int parse_argc = -1 ;
static char **parse_argv = NULL;
m_process_code_t code = NULL;
xbt_assert0(msg_global,"MSG_global_init has to be called before MSG_get_registered_function.");
-
- code = xbt_dict_get(msg_global->registered_functions,name);
+
+ code = xbt_dict_get_or_null(msg_global->registered_functions,name);
return code;
}