[Asterisk-cvs] asterisk/apps app_voicemail.c,1.180,1.181

markster at lists.digium.com markster at lists.digium.com
Fri Dec 17 10:12:27 CST 2004


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv12030/apps

Modified Files:
	app_voicemail.c 
Log Message:
Fix missing NULL (bug #3078)


Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.180
retrieving revision 1.181
diff -u -d -r1.180 -r1.181
--- app_voicemail.c	15 Dec 2004 22:49:37 -0000	1.180
+++ app_voicemail.c	17 Dec 2004 15:08:55 -0000	1.181
@@ -427,7 +427,7 @@
 {
 	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;




More information about the svn-commits mailing list