diff options
-rw-r--r-- | apps/app_minivm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_minivm.c b/apps/app_minivm.c index b15370065..34ef5f605 100644 --- a/apps/app_minivm.c +++ b/apps/app_minivm.c @@ -1106,7 +1106,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); |