[Freeswitch-svn] [commit] r6108 - freeswitch/trunk/src/mod/formats/mod_local_stream

Freeswitch SVN brian at freeswitch.org
Wed Oct 31 16:06:21 EDT 2007


Author: brian
Date: Wed Oct 31 16:06:21 2007
New Revision: 6108

Modified:
   freeswitch/trunk/src/mod/formats/mod_local_stream/mod_local_stream.c

Log:
more path bs

Modified: freeswitch/trunk/src/mod/formats/mod_local_stream/mod_local_stream.c
==============================================================================
--- freeswitch/trunk/src/mod/formats/mod_local_stream/mod_local_stream.c	(original)
+++ freeswitch/trunk/src/mod/formats/mod_local_stream/mod_local_stream.c	Wed Oct 31 16:06:21 2007
@@ -101,7 +101,7 @@
 			switch_size_t olen;
 			uint8_t *abuf[SWITCH_RECOMMENDED_BUFFER_SIZE] =  {0};
 
-			snprintf(path_buf, sizeof(path_buf), "%s/%s", source->location, fname);
+			snprintf(path_buf, sizeof(path_buf), "%s%s%s", source->location, SWITCH_PATH_SEPARATOR, fname);
 			fname = path_buf;
 			if (switch_core_file_open(&fh,
 									  (char *)fname,



More information about the Freeswitch-svn mailing list