[Asterisk-cvs] asterisk/apps app_record.c,1.24,1.25

markster at lists.digium.com markster at lists.digium.com
Thu Oct 28 18:10:57 CDT 2004


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv17714/apps

Modified Files:
	app_record.c 
Log Message:
Fix record app


Index: app_record.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_record.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- app_record.c	28 Oct 2004 21:37:18 -0000	1.24
+++ app_record.c	28 Oct 2004 22:14:08 -0000	1.25
@@ -105,6 +105,10 @@
 		ext = strchr(filename, '.');
 		if (!ext)
 			ext = strchr(filename, ':');
+		if (ext) {
+			*ext = '\0';
+			ext++;
+		}
 	}
 	if (!ext) {
 		ast_log(LOG_WARNING, "No extension specified to filename!\n");




More information about the svn-commits mailing list