mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-20 10:26:51 +00:00
remove trailing backlash from windows temp paths - mostly cosmetic
This commit is contained in:
parent
614ba049b1
commit
f997cc25d1
@ -661,6 +661,7 @@ SWITCH_DECLARE(void) switch_core_set_globals(void)
|
||||
#else
|
||||
#ifdef WIN32
|
||||
GetTempPath(dwBufSize, lpPathBuffer);
|
||||
lpPathBuffer[strlen(lpPathBuffer)-1] = 0;
|
||||
switch_snprintf(SWITCH_GLOBAL_dirs.temp_dir, BUFSIZE, "%s", lpPathBuffer);
|
||||
#else
|
||||
switch_snprintf(SWITCH_GLOBAL_dirs.temp_dir, BUFSIZE, "%s", "/tmp");
|
||||
|
Loading…
x
Reference in New Issue
Block a user