Fix serious typo (code segment was only enabled with verbose!)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5178 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2005-03-14 05:51:20 +00:00
parent cb9d518b3e
commit 5e8a912baf

2
pbx.c
View File

@@ -2303,7 +2303,6 @@ int ast_pbx_run(struct ast_channel *c)
ast_cdr_update(c);
}
} else {
if (option_verbose > 0) {
char *status;
status = pbx_builtin_getvar_helper(c, "DIALSTATUS");
if (!status)
@@ -2320,7 +2319,6 @@ int ast_pbx_run(struct ast_channel *c)
}
}
}
}
if (firstpass)
ast_log(LOG_WARNING, "Don't know what to do with '%s'\n", c->name);
out: