[svn-commits] jpeeler: branch 1.6.0 r164958 - in /branches/1.6.0: ./ apps/app_record.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Dec 16 16:51:56 CST 2008


Author: jpeeler
Date: Tue Dec 16 16:51:55 2008
New Revision: 164958

URL: http://svn.digium.com/view/asterisk?view=rev&rev=164958
Log:
Merged revisions 164942 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r164942 | jpeeler | 2008-12-16 16:45:39 -0600 (Tue, 16 Dec 2008) | 6 lines

(closes issue #13669)
Reported by: pj

Delete file recording if recording terminated from a hangup.


........

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/apps/app_record.c

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/apps/app_record.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/apps/app_record.c?view=diff&rev=164958&r1=164957&r2=164958
==============================================================================
--- branches/1.6.0/apps/app_record.c (original)
+++ branches/1.6.0/apps/app_record.c Tue Dec 16 16:51:55 2008
@@ -325,6 +325,7 @@
 	if (!f) {
 		ast_debug(1, "Got hangup\n");
 		res = -1;
+		ast_filedelete(args.filename, NULL);
 	}
 
 	if (gotsilence) {




More information about the svn-commits mailing list