mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
Add a massive set of changes for converting to use the ast_debug() macro.
(issue #9957, patches from mvanbaak, caio1982, critch, and dimas) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -576,13 +576,13 @@ enum ast_dial_result ast_dial_run(struct ast_dial *dial, struct ast_channel *cha
|
||||
|
||||
/* Ensure required arguments are passed */
|
||||
if (!dial || (!chan && !async)) {
|
||||
ast_log(LOG_DEBUG, "invalid #1\n");
|
||||
ast_debug(1, "invalid #1\n");
|
||||
return AST_DIAL_RESULT_INVALID;
|
||||
}
|
||||
|
||||
/* If there are no channels to dial we can't very well try to dial them */
|
||||
if (AST_LIST_EMPTY(&dial->channels)) {
|
||||
ast_log(LOG_DEBUG, "invalid #2\n");
|
||||
ast_debug(1, "invalid #2\n");
|
||||
return AST_DIAL_RESULT_INVALID;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user