summaryrefslogtreecommitdiff
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-05-11 15:03:52 +0000
committerMark Spencer <markster@digium.com>2004-05-11 15:03:52 +0000
commitfb80a4a3978c43c373538cf81f89d182865cbcef (patch)
tree7a0efae761f78eaaf6bf9c2349865e78a4e7683f /apps/app_voicemail.c
parent964565519cb06503215c45d8f1002e8354d8702f (diff)
Change "boundary" to be less likely to cause e-mail conflicts (bug #1602)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2946 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_voicemail.c')
-rwxr-xr-xapps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index fbff1eef8..6842d55ad 100755
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -862,7 +862,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), "Boundary=%d%s%d", msgnum, mailbox, getpid());
+ snprintf(bound, sizeof(bound), "voicemail_%d%s%d", msgnum, mailbox, getpid());
fprintf(p, "Content-Type: multipart/mixed; boundary=\"%s\"\n\n\n", bound);