create run dir (mostly for windows) if it does not exist yet

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16262 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Jeff Lenk 2010-01-12 17:20:16 +00:00
parent bc4c5d2b2c
commit 66c6760d27
1 changed files with 1 additions and 0 deletions

View File

@ -730,6 +730,7 @@ int main(int argc, char *argv[])
apr_pool_create(&pool, NULL);
switch_dir_make_recursive(SWITCH_GLOBAL_dirs.run_dir, SWITCH_DEFAULT_DIR_PERMS, pool);
if (switch_file_open(&fd,
pid_path,