From: Michael Jerris Date: Tue, 13 May 2008 06:59:52 +0000 (+0000) Subject: use proper directory sep. X-Git-Tag: v1.0-rc5~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdabf22deabdb2daaa8951546e3c212a242695e7;p=thirdparty%2Ffreeswitch.git use proper directory sep. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8378 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/formats/mod_local_stream/mod_local_stream.c b/src/mod/formats/mod_local_stream/mod_local_stream.c index 7a56eb6cf0..eb7fc9d24d 100644 --- a/src/mod/formats/mod_local_stream/mod_local_stream.c +++ b/src/mod/formats/mod_local_stream/mod_local_stream.c @@ -252,7 +252,7 @@ static switch_status_t local_stream_file_open(switch_file_handle_t *handle, cons 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))) {