From: Mark Spencer Date: Fri, 17 Dec 2004 15:08:55 +0000 (+0000) Subject: Fix missing NULL (bug #3078) X-Git-Tag: 1.2.0-beta1~1644 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f864477ba80e4ac33f6407c2840910ae9bbabc08;p=thirdparty%2Fasterisk.git Fix missing NULL (bug #3078) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4472 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 5eccd6d401..751cde0ff3 100755 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -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;