[commit] r6107 - freeswitch/trunk/src/mod/applications/mod_conference
Author: brian Date: Wed Oct 31 16:04:11 2007 New Revision: 6107 Modified: freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c Log: more path bs Modified: freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c ============================================================================== --- freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c (original) +++ freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c Wed Oct 31 16:04:11 2007 @@ -2027,7 +2027,7 @@ 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 @@ 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 @@ 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 @@ 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 {
participants (1)
-
Freeswitch SVN