From ab9270440eb011bf25774665dcbf4a2c054eaa50 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Fri, 5 Dec 2008 13:55:58 +0000 Subject: [PATCH] Merged revisions 161252 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r161252 | russell | 2008-12-05 07:46:01 -0600 (Fri, 05 Dec 2008) | 2 lines Resolve a compiler warning from buildbot about a NULL format string. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161264 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_minivm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_minivm.c b/apps/app_minivm.c index 3eb64cda53..470c4debf0 100644 --- a/apps/app_minivm.c +++ b/apps/app_minivm.c @@ -960,7 +960,7 @@ static int sendmail(struct minivm_template *template, struct minivm_account *vmu 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);