[Freeswitch-svn] [commit] r6108 - freeswitch/trunk/src/mod/formats/mod_local_stream
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,
participants (1)
-
Freeswitch SVN