mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 12:37:05 +00:00
fix path bs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6105 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
edf08043ff
commit
049d952d4e
2 files changed
+2
-2
No files matched your search
@@ -680,7 +680,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_play_file(switch_core_session_t *sess
|
||||
uint32_t len;
|
||||
len = (uint32_t) strlen(file) + (uint32_t) strlen(prefix) + 10;
|
||||
new_file = switch_core_session_alloc(session, len);
|
||||
snprintf(new_file, len, "%s/%s", prefix, file);
|
||||
snprintf(new_file, len, "%s%s%s", prefix, SWITCH_PATH_SEPARATOR, file);
|
||||
file = new_file;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user