summaryrefslogtreecommitdiff
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2014-11-03 02:34:13 +0000
committerCorey Farrell <git@cfware.com>2014-11-03 02:34:13 +0000
commit5bec46e6c888e14d2dd0a9710c56556a1d42aea9 (patch)
treebc2110a8b425d1ed292ac2e8b1c2685968f3600f /apps/app_voicemail.c
parent5f17490f4d3101e674193ebafd6bd7a052a7c8d5 (diff)
Fix compile error caused by review 4138
There is no procedure called ast_closeframe, fix code to use ast_closestream. Reported By: Matt Jordan ........ Merged revisions 427087 from http://svn.asterisk.org/svn/asterisk/branches/11 ........ Merged revisions 427088 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@427089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r--apps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index d99bced3d..0ebad3d27 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -6158,7 +6158,7 @@ static int msg_create_from_file(struct ast_vm_recording_data *recdata)
ast_log(LOG_ERROR,"Unable to determine sample rate of recording %s\n", recdata->recording_file);
}
}
- ast_closeframe(recording_fs);
+ ast_closestream(recording_fs);
}
/* If the duration was below the minimum duration for the user, let's just drop the whole thing now */