Merged revisions 56341 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Fri, 23 Feb 2007 18:01:11 +0000 (18:01 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 23 Feb 2007 18:01:11 +0000 (18:01 +0000)
commitd94c511bb3b9f3d4493a152ff02057719ea7b39d
tree09920d1c799ead239d5ead8f44eb58dc98ac5678
parent0d3a211335b2dcd00c1bb9ff5f991470a1ffca42
Merged revisions 56341 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56341 | russell | 2007-02-23 11:58:57 -0600 (Fri, 23 Feb 2007) | 8 lines

The IMAP storage code uses the same code to build the email that is used when
voicemail is sent via email using something like sendmail.  In the patch from
bug 8033 to fix various IMAP storage problems, the line endings in the email
file were changed in the code from "\n" to "\r\n".  However, this breaks
sending regular voicemail to email.  So, this change conditionally sets line
endings to "\r\n" only if IMAP_STORAGE is enabled.
(issue #9128, patch by jarjarbinks, modified by me to not break IMAP storage)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_voicemail.c