Author: coreyfarrell
Date: Sun Nov  2 20:31:46 2014
New Revision: 427087

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=427087
Log:
Fix compile error caused by review 4138

There is no procedure called ast_closeframe, fix code to use
ast_closestream.

Reported By: Matt Jordan

Modified:
    branches/11/apps/app_voicemail.c

Modified: branches/11/apps/app_voicemail.c
URL: 
http://svnview.digium.com/svn/asterisk/branches/11/apps/app_voicemail.c?view=diff&rev=427087&r1=427086&r2=427087
==============================================================================
--- branches/11/apps/app_voicemail.c (original)
+++ branches/11/apps/app_voicemail.c Sun Nov  2 20:31:46 2014
@@ -6041,7 +6041,7 @@
                        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 */


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to