]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/irc_dictionary.c
Some global structs cleaned up a bit in their initalization and declarations.
[irc/rqf/shadowircd.git] / src / irc_dictionary.c
index 49bb8ad74e5ea88dab214924046bc0995555b6ee..a99dede824106eff3432f07252ac0ea93ccf65f3 100644 (file)
@@ -62,7 +62,7 @@ struct Dictionary *irc_dictionary_create(DCF compare_cb)
        dtree->compare_cb = compare_cb;
 
        if (!elem_heap)
-               elem_heap = rb_bh_create(sizeof(struct DictionaryElement), 1024);
+               elem_heap = rb_bh_create(sizeof(struct DictionaryElement), 1024, "dictionary_elem_heap");
 
        return dtree;
 }
@@ -93,7 +93,7 @@ struct Dictionary *irc_dictionary_create_named(const char *name,
        dtree->id = rb_strdup(name);
 
        if (!elem_heap)
-               elem_heap = rb_bh_create(sizeof(struct DictionaryElement), 1024);
+               elem_heap = rb_bh_create(sizeof(struct DictionaryElement), 1024, "dictionary_elem_heap");
 
        return dtree;
 }