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;
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;
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;
}
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 {