summaryrefslogtreecommitdiff
path: root/apps/app_dial.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_dial.c')
-rw-r--r--apps/app_dial.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 831a708e5..f59aeb4ec 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -2089,8 +2089,7 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags
ast_pbx_run_args(peer, &args);
}
ast_free(gosub_args);
- if (option_debug)
- ast_log(LOG_DEBUG, "Gosub exited with status %d\n", res9);
+ ast_debug(1, "Gosub exited with status %d\n", res9);
} else {
ast_log(LOG_ERROR, "Could not Allocate string for Gosub arguments -- Gosub Call Aborted!\n");
}