[asterisk-commits] coreyfarrell: branch 11 r427087 - /branches/11/apps/app_voicemail.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Nov 2 20:31:53 CST 2014


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 */




More information about the asterisk-commits mailing list