mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-21 12:54:56 +00:00
Fix a NULL format string warning found by buildbot.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@161287 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4966,7 +4966,7 @@ static void *async_wait(void *data)
|
|||||||
static int ast_pbx_outgoing_cdr_failed(void)
|
static int ast_pbx_outgoing_cdr_failed(void)
|
||||||
{
|
{
|
||||||
/* allocate a channel */
|
/* allocate a channel */
|
||||||
struct ast_channel *chan = ast_channel_alloc(0, AST_STATE_DOWN, 0, 0, "", "", "", 0, 0);
|
struct ast_channel *chan = ast_channel_alloc(0, AST_STATE_DOWN, 0, 0, "", "", "", 0, "%s", "");
|
||||||
|
|
||||||
if (!chan)
|
if (!chan)
|
||||||
return -1; /* failure */
|
return -1; /* failure */
|
||||||
|
Reference in New Issue
Block a user