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

Freeswitch SVN anthm at freeswitch.org
Wed Oct 31 16:03:30 EDT 2007


Author: anthm
Date: Wed Oct 31 16:03:30 2007
New Revision: 6106

Modified:
   freeswitch/trunk/src/switch_ivr_play_say.c

Log:
fix path bs

Modified: freeswitch/trunk/src/switch_ivr_play_say.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_play_say.c	(original)
+++ freeswitch/trunk/src/switch_ivr_play_say.c	Wed Oct 31 16:03:30 2007
@@ -675,7 +675,7 @@
 	}
 
 	if (!strstr(file, SWITCH_URL_SEPARATOR)) {
-		if (prefix && *file != '/' && *file != '\\' && *(file + 1) != ':') {
+		if (switch_is_file_path(file)) {
 			char *new_file;
 			uint32_t len;
 			len = (uint32_t) strlen(file) + (uint32_t) strlen(prefix) + 10;



More information about the Freeswitch-svn mailing list