[asterisk-commits] russell: trunk r161252 - /trunk/apps/app_minivm.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Dec 5 07:46:02 CST 2008


Author: russell
Date: Fri Dec  5 07:46:01 2008
New Revision: 161252

URL: http://svn.digium.com/view/asterisk?view=rev&rev=161252
Log:
Resolve a compiler warning from buildbot about a NULL format string.

Modified:
    trunk/apps/app_minivm.c

Modified: trunk/apps/app_minivm.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_minivm.c?view=diff&rev=161252&r1=161251&r2=161252
==============================================================================
--- trunk/apps/app_minivm.c (original)
+++ trunk/apps/app_minivm.c Fri Dec  5 07:46:01 2008
@@ -1106,7 +1106,7 @@
 		return -1;
 	}
 	/* Allocate channel used for chanvar substitution */
-	ast = ast_channel_alloc(0, AST_STATE_DOWN, 0, 0, "", "", "", 0, 0);
+	ast = ast_channel_alloc(0, AST_STATE_DOWN, 0, 0, "", "", "", 0, "%s", "");
 
 
 	snprintf(dur, sizeof(dur), "%d:%02d", duration / 60, duration % 60);




More information about the asterisk-commits mailing list