diff options
author | Joshua Colp <jcolp@digium.com> | 2013-01-27 17:13:22 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2013-01-27 17:13:22 +0000 |
commit | 44ce06682b8f145b4d3136700ca4204ef872c606 (patch) | |
tree | fbd3561d1012b125ab42bfbd123aa2b79fc2dc1c /main/sorcery.c | |
parent | 3b483ef5d650a8239f9f8b077676b830de4d8ad0 (diff) |
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
Diffstat (limited to 'main/sorcery.c')
-rw-r--r-- | main/sorcery.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/sorcery.c b/main/sorcery.c index a347094cf..ca7efb0bc 100644 --- a/main/sorcery.c +++ b/main/sorcery.c @@ -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; |