aboutsummaryrefslogtreecommitdiffstats
path: root/main/pbx.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-05 14:17:50 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-05 14:17:50 +0000
commit3bc0d480a42498b922563c9530c2bd7dc526ece8 (patch)
tree8105358b54b79f162539b0f557dc9cc6769dece4 /main/pbx.c
parent0ab5dd935810409701c796768b2a3abc91f1b53b (diff)
Merged revisions 161288 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r161288 | russell | 2008-12-05 08:16:24 -0600 (Fri, 05 Dec 2008) | 10 lines Merged revisions 161287 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r161287 | russell | 2008-12-05 08:12:14 -0600 (Fri, 05 Dec 2008) | 2 lines Fix a NULL format string warning found by buildbot. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@161289 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/pbx.c')
-rw-r--r--main/pbx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c
index 3a78612b3..3b5b831e9 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -6968,7 +6968,7 @@ static void *async_wait(void *data)
static int ast_pbx_outgoing_cdr_failed(void)
{
/* 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)
return -1; /* failure */