From 141ce4a8e12ae5c284ce78e2667debf80fd7baf5 Mon Sep 17 00:00:00 2001 From: Brian West Date: Wed, 31 Oct 2007 20:04:11 +0000 Subject: [PATCH] more path bs git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6107 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_conference/mod_conference.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 8a20130273..5dfa511a78 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -2027,7 +2027,7 @@ static switch_status_t conference_play_file(conference_obj_t * conference, char if (!switch_is_file_path(file)) { if (conference->sound_prefix) { - if (!(dfile = switch_mprintf("%s/%s", conference->sound_prefix, file))) { + if (!(dfile = switch_mprintf("%s%s%s", conference->sound_prefix, SWITCH_PATH_SEPARATOR, file))) { goto done; } file = dfile; @@ -2129,7 +2129,7 @@ static switch_status_t conference_member_play_file(conference_member_t * member, if (!switch_is_file_path(file)) { if (member->conference->sound_prefix) { - if (!(dfile = switch_mprintf("%s/%s", member->conference->sound_prefix, file))) { + if (!(dfile = switch_mprintf("%s%s%s", member->conference->sound_prefix, SWITCH_PATH_SEPARATOR, file))) { goto done; } file = dfile; @@ -3814,7 +3814,7 @@ static switch_status_t conference_local_play_file(conference_obj_t * conference, if (conference->sound_prefix) { - if (!(dpath = switch_mprintf("%s/%s", conference->sound_prefix, path))) { + if (!(dpath = switch_mprintf("%s%s%s", conference->sound_prefix, SWITCH_PATH_SEPARATOR, path))) { status = SWITCH_STATUS_MEMERR; goto done; } @@ -4276,7 +4276,7 @@ SWITCH_STANDARD_APP(conference_function) char *dfile = NULL; if (conference->sound_prefix) { - dfile = switch_mprintf("%s/%s", conference->sound_prefix, conference->kicked_sound); + dfile = switch_mprintf("%s%s%s", conference->sound_prefix, SWITCH_PATH_SEPARATOR, conference->kicked_sound); assert(dfile); toplay = dfile; } else {