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:
parent
3f72839a65
commit
08debcfcb4
|
@ -4007,7 +4007,7 @@ SWITCH_DECLARE(void) switch_core_set_globals(void)
|
||||||
#else
|
#else
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
GetTempPath(dwBufSize, lpPathBuffer);
|
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);
|
snprintf(SWITCH_GLOBAL_dirs.temp_dir, BUFSIZE, "%s", lpPathBuffer);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue