From: Michael Jerris Date: Sat, 17 Feb 2007 06:22:47 +0000 (+0000) Subject: completion of the commit from revision 4305 X-Git-Tag: v1.0-beta1~1062 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08debcfcb49b1f79868ccd001d31373791925eff;p=thirdparty%2Ffreeswitch.git completion of the commit from revision 4305 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4307 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_core.c b/src/switch_core.c index 6eb84ea84b..2e3aac8d9a 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -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