mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-09 13:51:53 +00:00
remove trailing backlash from windows temp paths - mostly cosmetic
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user