From: Joshua Colp Date: Tue, 2 Apr 2013 12:18:50 +0000 (+0000) Subject: Pass the object type name to the configuration framework. X-Git-Tag: 13.0.0-beta1~1956 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56313ee068af7c9cf35e659dd43ec0c30e8cb386;p=thirdparty%2Fasterisk.git 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 --- diff --git a/main/sorcery.c b/main/sorcery.c index d0f2e7d5cd..8b555222db 100644 --- a/main/sorcery.c +++ b/main/sorcery.c @@ -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;