diff options
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r-- | apps/app_voicemail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 6c3d1e531..2d8d9b9f1 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -960,7 +960,7 @@ static void vm_change_password(struct ast_vm_user *vmu, const char *newpassword) if (!strcasecmp(category, vmu->mailbox)) { if (!(tmp = ast_variable_retrieve(cfg, category, "vmsecret"))) { ast_debug(3, "looks like we need to make vmsecret!\n"); - var = ast_variable_new("vmsecret", newpassword); + var = ast_variable_new("vmsecret", newpassword, ""); } new = alloca(strlen(newpassword)+1); sprintf(new, "%s", newpassword); |