mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Fix a bug where the apply function was not getting called.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@380165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -472,6 +472,7 @@ int ast_sorcery_object_register(struct ast_sorcery *sorcery, const char *type, a
|
||||
object_type->type.item_alloc = alloc;
|
||||
|
||||
object_type->transform = transform;
|
||||
object_type->apply = apply;
|
||||
object_type->file->types[0] = &object_type->type;
|
||||
object_type->file->types[1] = NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user