]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix compile error caused by review 4138
authorCorey Farrell <git@cfware.com>
Mon, 3 Nov 2014 02:33:17 +0000 (02:33 +0000)
committerCorey Farrell <git@cfware.com>
Mon, 3 Nov 2014 02:33:17 +0000 (02:33 +0000)
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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@427088 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index a654941185270627527df5fe7e02e579a9c82eff..d1e2ef879cf12b5c93f27dee6a062e9db978395b 100644 (file)
@@ -6132,7 +6132,7 @@ static int msg_create_from_file(struct ast_vm_recording_data *recdata)
                        ast_getformatbyname(recdata->recording_ext, &result);
                        duration = (int) (framelength / ast_format_rate(&result));
                }
-               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 */