aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-05 14:03:32 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-05 14:03:32 +0000
commitb8729f44195d44ddb97df1b3be3039982772759e (patch)
tree199261b6c4afb1c757cec39c7a129fb29c6c3540 /apps
parentc8fb843e0e06ee31243b3c42b7fa965ccb9fd023 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.6.1@161285 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_minivm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_minivm.c b/apps/app_minivm.c
index 4aed1528e..6b99ce706 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);