[asterisk-commits] russell: branch 1.4 r161287 - /branches/1.4/main/pbx.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Dec 5 08:12:15 CST 2008


Author: russell
Date: Fri Dec  5 08:12:14 2008
New Revision: 161287

URL: http://svn.digium.com/view/asterisk?view=rev&rev=161287
Log:
Fix a NULL format string warning found by buildbot.

Modified:
    branches/1.4/main/pbx.c

Modified: branches/1.4/main/pbx.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/pbx.c?view=diff&rev=161287&r1=161286&r2=161287
==============================================================================
--- branches/1.4/main/pbx.c (original)
+++ branches/1.4/main/pbx.c Fri Dec  5 08:12:14 2008
@@ -4966,7 +4966,7 @@
 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 */




More information about the asterisk-commits mailing list