[Freeswitch-svn] [commit] r10356 - freeswitch/trunk/src

FreeSWITCH SVN mikej at freeswitch.org
Wed Nov 12 05:41:19 PST 2008


Author: mikej
Date: Wed Nov 12 08:41:18 2008
New Revision: 10356

Log:
better error message.

Modified:
   freeswitch/trunk/src/switch_core_file.c

Modified: freeswitch/trunk/src/switch_core_file.c
==============================================================================
--- freeswitch/trunk/src/switch_core_file.c	(original)
+++ freeswitch/trunk/src/switch_core_file.c	Wed Nov 12 08:41:18 2008
@@ -56,7 +56,7 @@
 		file_path = rhs + 3;
 	} else {
 		if ((ext = strrchr(file_path, '.')) == 0) {
-			switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid Format\n");
+			switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Unknown file Format [%s]\n", file_path);
 			return SWITCH_STATUS_FALSE;
 		}
 		ext++;



More information about the Freeswitch-svn mailing list