Oopsie, breakage

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@123201 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2008-06-16 21:31:43 +00:00
parent 121c046ba5
commit ddfac77569

View File

@@ -14382,7 +14382,7 @@ static int setup_dahdi(int reload)
mwimonitornotify[0] = '\0'; mwimonitornotify[0] = '\0';
v = ast_variable_browse(cfg, "channels"); v = ast_variable_browse(cfg, "channels");
if ((res = process_dahdi(&base_conf, v, reload, 0))) { if ((res = process_dahdi(&base_conf, "", v, reload, 0))) {
ast_mutex_unlock(&iflock); ast_mutex_unlock(&iflock);
ast_config_destroy(cfg); ast_config_destroy(cfg);
if (ucfg) { if (ucfg) {
@@ -14405,7 +14405,7 @@ static int setup_dahdi(int reload)
memcpy(&conf, &base_conf, sizeof(conf)); memcpy(&conf, &base_conf, sizeof(conf));
if ((res = process_dahdi(&conf, ast_variable_browse(cfg, cat), reload, PROC_DAHDI_OPT_NOCHAN))) { if ((res = process_dahdi(&conf, cat, ast_variable_browse(cfg, cat), reload, PROC_DAHDI_OPT_NOCHAN))) {
ast_mutex_unlock(&iflock); ast_mutex_unlock(&iflock);
ast_config_destroy(cfg); ast_config_destroy(cfg);
if (ucfg) { if (ucfg) {