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

Freeswitch SVN mikej at freeswitch.org
Tue May 13 02:59:52 EDT 2008


Author: mikej
Date: Tue May 13 02:59:52 2008
New Revision: 8378

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

Log:
use proper directory sep.

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	Tue May 13 02:59:52 2008
@@ -252,7 +252,7 @@
 		return SWITCH_STATUS_FALSE;
 	}
 	
-	alt_path = switch_mprintf("%s/%d", path, handle->samplerate);
+	alt_path = switch_mprintf("%s%s%d", path, SWITCH_PATH_SEPARATOR, handle->samplerate);
 
 	switch_mutex_lock(globals.mutex);
 	if ((source = switch_core_hash_find(globals.source_hash, alt_path))) {



More information about the Freeswitch-svn mailing list