mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-04 19:31:56 +00:00
completion of the commit from revision 4305
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4307 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
+1
-1
@@ -4007,7 +4007,7 @@ SWITCH_DECLARE(void) switch_core_set_globals(void)
|
||||
#else
|
||||
#ifdef WIN32
|
||||
GetTempPath(dwBufSize, lpPathBuffer);
|
||||
if (!SWITCH_GLOBAL_dirs.temp_dir && (SWITCH_GLOBAL_dirs.htdocs_dir = (char *) malloc(BUFSIZE))) {
|
||||
if (!SWITCH_GLOBAL_dirs.temp_dir && (SWITCH_GLOBAL_dirs.temp_dir = (char *) malloc(BUFSIZE))) {
|
||||
snprintf(SWITCH_GLOBAL_dirs.temp_dir, BUFSIZE, "%s", lpPathBuffer);
|
||||
}
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user