Compiler fixes for GCC when printf %s is NULL

ASTERISK-29146

Change-Id: Ib04bdad87d729f805f5fc620ef9952f58ea96d41
This commit is contained in:
Alexander Traud
2020-10-30 09:46:10 +01:00
committed by Kevin Harwell
parent 914aecb8d8
commit 28faafd1c4
4 changed files with 9 additions and 5 deletions

View File

@@ -2800,7 +2800,7 @@ static int add_calltoken_ignore(const char *addr)
int error = 0;
if (ast_strlen_zero(addr)) {
ast_log(LOG_WARNING, "invalid calltokenoptional %s\n", addr);
ast_log(LOG_WARNING, "invalid calltokenoptional (null)\n");
return -1;
}