mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 11:58:40 +00:00
Resolve a compiler warning from buildbot about a NULL format string.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@161252 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user