summaryrefslogtreecommitdiff
path: root/tests/test_sorcery_astdb.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2014-03-17 19:35:17 +0000
committerMark Michelson <mmichelson@digium.com>2014-03-17 19:35:17 +0000
commiteba91d2a98ac5a6558513549670162ab20ab6d68 (patch)
tree82010a695584ef98e0ea29d87cec74b61c1c8956 /tests/test_sorcery_astdb.c
parentd44aefeef476d744f2915d47c3fdc9b138cdd584 (diff)
Revert changes to sorcery that accidentally got committed.
These changes were still up for review and have not been approved yet. I must have had the changes in my working copy when making a different change. ........ Merged revisions 410696 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@410699 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'tests/test_sorcery_astdb.c')
-rw-r--r--tests/test_sorcery_astdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_sorcery_astdb.c b/tests/test_sorcery_astdb.c
index b87ed74f8..41e7adbc9 100644
--- a/tests/test_sorcery_astdb.c
+++ b/tests/test_sorcery_astdb.c
@@ -60,7 +60,7 @@ static struct ast_sorcery *alloc_and_initialize_sorcery(void)
return NULL;
}
- if ((ast_sorcery_apply_default(sorcery, "test", "astdb", "test") != AST_SORCERY_APPLY_SUCCESS) ||
+ if (ast_sorcery_apply_default(sorcery, "test", "astdb", "test") ||
ast_sorcery_internal_object_register(sorcery, "test", test_sorcery_object_alloc, NULL, NULL)) {
ast_sorcery_unref(sorcery);
return NULL;