Pass the object type name to the configuration framework.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@384518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2013-04-02 12:18:50 +00:00
parent bcc0aca23d
commit 56313ee068

View File

@@ -475,6 +475,7 @@ int ast_sorcery_object_register(struct ast_sorcery *sorcery, const char *type, a
return -1;
}
object_type->type.name = object_type->name;
object_type->type.type = ACO_ITEM;
object_type->type.category = "";
object_type->type.item_alloc = alloc;