Fix missing NULL (bug #3078)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4472 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2-netsec
Mark Spencer 21 years ago
parent ab9a5820e8
commit f864477ba8

@ -427,7 +427,7 @@ static int change_password_realtime(struct ast_vm_user *vmu, const char *passwor
{
int res;
if (!ast_strlen_zero(vmu->uniqueid)) {
res = ast_update_realtime("voicemail", "uniqueid", vmu->uniqueid, "password", password);
res = ast_update_realtime("voicemail", "uniqueid", vmu->uniqueid, "password", password, NULL);
if (!res)
strncpy(vmu->password, password, sizeof(vmu->password) - 1);
return res;

Loading…
Cancel
Save