Oops, broke 1.6 (thanks MattF)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2008-05-30 17:13:20 +00:00
parent c568ee08f3
commit 2fde71cb45

View File

@@ -505,7 +505,7 @@ static int unload_module(void)
static int load_module(void) static int load_module(void)
{ {
struct ast_context *con; struct ast_context *con;
con = ast_context_find_or_create(NULL, NULL, "app_stack_gosub_virtual_context", "app_stack"); con = ast_context_find_or_create(NULL, "app_stack_gosub_virtual_context", "app_stack");
if (!con) { if (!con) {
ast_log(LOG_ERROR, "Virtual context 'app_stack_gosub_virtual_context' does not exist and unable to create\n"); ast_log(LOG_ERROR, "Virtual context 'app_stack_gosub_virtual_context' does not exist and unable to create\n");
return AST_MODULE_LOAD_DECLINE; return AST_MODULE_LOAD_DECLINE;