mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-19 00:00:09 +00:00
Removing a pointless check of option_debug
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@90061 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2648,9 +2648,7 @@ static int pbx_extension_helper(struct ast_channel *c, struct ast_context *con,
|
|||||||
ast_copy_string(c->exten, exten, sizeof(c->exten));
|
ast_copy_string(c->exten, exten, sizeof(c->exten));
|
||||||
c->priority = priority;
|
c->priority = priority;
|
||||||
pbx_substitute_variables(passdata, sizeof(passdata), c, e);
|
pbx_substitute_variables(passdata, sizeof(passdata), c, e);
|
||||||
if (option_debug) {
|
|
||||||
ast_debug(1, "Launching '%s'\n", app->name);
|
ast_debug(1, "Launching '%s'\n", app->name);
|
||||||
}
|
|
||||||
if (option_verbose > 2) {
|
if (option_verbose > 2) {
|
||||||
char tmp[80], tmp2[80], tmp3[EXT_DATA_SIZE];
|
char tmp[80], tmp2[80], tmp3[EXT_DATA_SIZE];
|
||||||
ast_verb(3, "Executing [%s@%s:%d] %s(\"%s\", \"%s\") %s\n",
|
ast_verb(3, "Executing [%s@%s:%d] %s(\"%s\", \"%s\") %s\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user