[Asterisk-cvs] asterisk/apps app_voicemail.c,1.186,1.187

russell at lists.digium.com russell at lists.digium.com
Fri Dec 24 14:01:27 CST 2004


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

Modified Files:
	app_voicemail.c 
Log Message:
fix flag error (bug #3130)


Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.186
retrieving revision 1.187
diff -u -d -r1.186 -r1.187
--- app_voicemail.c	23 Dec 2004 03:04:12 -0000	1.186
+++ app_voicemail.c	24 Dec 2004 18:56:57 -0000	1.187
@@ -475,7 +475,7 @@
 			vmu = malloc(sizeof(struct ast_vm_user));
 		if (vmu) {
 			memcpy(vmu, cur, sizeof(struct ast_vm_user));
-			ast_set2_flag(vmu, ivm, VM_ALLOCED);	
+			ast_set2_flag(vmu, !ivm, VM_ALLOCED);	
 			vmu->next = NULL;
 		}
 	} else




More information about the svn-commits mailing list