mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	Fixed incorrect pointer copy to structure copy in revision 333339
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@333354 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -1454,7 +1454,7 @@ static struct ast_vm_user *find_user(struct ast_vm_user *ivm, const char *contex | ||||
| 	if (cur) { | ||||
| 		/* Make a copy, so that on a reload, we have no race */ | ||||
| 		if ((vmu = (ivm ? ivm : ast_malloc(sizeof(*vmu))))) { | ||||
| 			vmu = cur; | ||||
| 			*vmu = *cur; | ||||
| 			if (!ivm) { | ||||
| 				vmu->emailbody = ast_strdup(cur->emailbody); | ||||
| 				vmu->emailsubject = ast_strdup(cur->emailsubject); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user