aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-11 04:27:25 +0000
committerjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-11 04:27:25 +0000
commit83e169b37437e0098f5a4c0bd9bc6e4d730ee4a8 (patch)
treec4059fd00bd68671669e11976a690ae07de9c3e0
parent2c0f59a358bc5504bc7c07e86477be6657f566db (diff)
Fix merge oops from 181137
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@181178 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--utils/extconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/extconf.c b/utils/extconf.c
index fb2362edf..1327202f6 100644
--- a/utils/extconf.c
+++ b/utils/extconf.c
@@ -5993,7 +5993,7 @@ static int pbx_load_config(const char *config_file)
lastpri = ipri;
if (!ast_opt_dont_warn && !strcmp(realext, "_."))
ast_log(LOG_WARNING, "The use of '_.' for an extension is strongly discouraged and can have unexpected behavior. Please use '_X.' instead at line %d\n", v->lineno);
- if (ast_add_extension2(con, 0, realext, ipri, label, cidmatch, appl, strdup(data), ast_free_ptr, global_registrar)) {
+ if (ast_add_extension2(con, 0, realext, ipri, label, cidmatch, appl, strdup(data), ast_free_ptr, registrar)) {
ast_log(LOG_WARNING, "Unable to register extension at line %d\n", v->lineno);
}
}