git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7589
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
int TRACE_create_category (const char *category,
const char *type, const char *parent_category)
{
int TRACE_create_category (const char *category,
const char *type, const char *parent_category)
{
- if (!IS_TRACING) return;
+ if (!IS_TRACING) return 1;
//check if type is defined
if (!xbt_dict_get_or_null (defined_types, type)) {
//check if type is defined
if (!xbt_dict_get_or_null (defined_types, type)) {
__TRACE_surf_finalize();
xbt_dict_cursor_t cursor = NULL;
__TRACE_surf_finalize();
xbt_dict_cursor_t cursor = NULL;
- unsigned int cursor_ar = 0;
char *key, *value;
/* get all host from host_containers */
char *key, *value;
/* get all host from host_containers */