summaryrefslogtreecommitdiff
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-03-29 08:20:35 +0000
committerMark Spencer <markster@digium.com>2004-03-29 08:20:35 +0000
commit3e9c3379464043cdb325c40575a8c4225b204e5f (patch)
tree140697f994b40b5a665e1a9083075a1fe199573d /apps/app_voicemail.c
parent2c0d0d836c179acf8e069ad113a62cf49c460be3 (diff)
Small SIP fix, voicemail fix, and some delivery fixes on new apps
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2581 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 5e562e333..98a79e13a 100755
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -849,7 +849,7 @@ static int sendpage(char *srcemail, char *pager, int msgnum, char *mailbox, char
time_t t;
struct tm tm;
struct vm_zone *the_zone = NULL;
- p = popen(mailcmd, "w");
+ pfd = mkstemp(tmp);
if (pfd > -1) {
p = fdopen(pfd, "w");