Fix missing NULL (bug #3078)
authorMark Spencer <markster@digium.com>
Fri, 17 Dec 2004 15:08:55 +0000 (15:08 +0000)
committerMark Spencer <markster@digium.com>
Fri, 17 Dec 2004 15:08:55 +0000 (15:08 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4472 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 5eccd6d..751cde0 100755 (executable)
@@ -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;