mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Make bound more unique (bug #2072)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3458 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -927,7 +927,7 @@ static int sendmail(char *srcemail, struct ast_vm_user *vmu, int msgnum, char *m | ||||
| 		fprintf(p, "MIME-Version: 1.0\n"); | ||||
| 		if (attach_user_voicemail) { | ||||
| 			/* Something unique. */ | ||||
| 			snprintf(bound, sizeof(bound), "voicemail_%d%s%d", msgnum, mailbox, getpid()); | ||||
| 			snprintf(bound, sizeof(bound), "voicemail_%d%s%d%d", msgnum, mailbox, getpid(), (unsigned int)rand()); | ||||
|  | ||||
| 			fprintf(p, "Content-Type: multipart/mixed; boundary=\"%s\"\n\n\n", bound); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user