[Asterisk-cvs] asterisk/apps app_voicemail.c,1.200,1.201

markster at lists.digium.com markster at lists.digium.com
Mon Feb 28 22:50:03 CST 2005


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

Modified Files:
	app_voicemail.c 
Log Message:
Fix seg in authenticate (bug #3686)


Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.200
retrieving revision 1.201
diff -u -d -r1.200 -r1.201
--- app_voicemail.c	19 Feb 2005 16:34:45 -0000	1.200
+++ app_voicemail.c	1 Mar 2005 04:47:33 -0000	1.201
@@ -4452,7 +4452,7 @@
 		ast_play_and_wait(chan, "vm-goodbye");
 		return -1;
 	}
-	if (!skipuser) {
+	if (vmu && !skipuser) {
 		memcpy(res_vmu, vmu, sizeof(struct ast_vm_user));
 	}
 	return 0;




More information about the svn-commits mailing list