aboutsummaryrefslogtreecommitdiffstats
path: root/pbx
diff options
context:
space:
mode:
authormartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-07-14 17:16:47 +0000
committermartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-07-14 17:16:47 +0000
commit592421c2955f5496d1333567d656289b1d5cd5d3 (patch)
treecccae360b948938caafdcf4131773e100ef93c63 /pbx
parentf4033da0390206a7d4d0ab753c50677d9fadd410 (diff)
Add the possibility to delete all the contexts registered by a certain registrar with ast_merge_and_delete routine; make it the default behaviour when reloding extensions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1187 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-rwxr-xr-xpbx/pbx_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c
index 0b15e5694..844386354 100755
--- a/pbx/pbx_config.c
+++ b/pbx/pbx_config.c
@@ -1641,7 +1641,7 @@ static int pbx_load_module(void)
}
ast_destroy(cfg);
}
- ast_merge_contexts_and_delete(&local_contexts);
+ ast_merge_contexts_and_delete(&local_contexts,registrar);
return 0;
}