mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
pbx.c: Fix gcc 12 compiler warning.
Resolves: #277
(cherry picked from commit 9e6266e008
)
This commit is contained in:
committed by
Asterisk Development Team
parent
d15a5c547f
commit
d29a7c19d0
@@ -2977,7 +2977,7 @@ static int pbx_extension_helper(struct ast_channel *c, struct ast_context *con,
|
||||
break;
|
||||
case STATUS_NO_LABEL:
|
||||
if (context && !combined_find_spawn)
|
||||
ast_log(LOG_NOTICE, "No such label '%s' in extension '%s' in context '%s'\n", label, exten, S_OR(context, ""));
|
||||
ast_log(LOG_NOTICE, "No such label '%s' in extension '%s' in context '%s'\n", S_OR(label, ""), exten, S_OR(context, ""));
|
||||
break;
|
||||
default:
|
||||
ast_debug(1, "Shouldn't happen!\n");
|
||||
|
Reference in New Issue
Block a user