Revision
16262
Author
jlenk
Date
2010-01-12 11:20:16 -0600 (Tue, 12 Jan 2010)

Log Message

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

Modified Paths

Diff

Modified: freeswitch/trunk/src/switch.c (16261 => 16262)


--- freeswitch/trunk/src/switch.c	2010-01-12 16:24:23 UTC (rev 16261)
+++ freeswitch/trunk/src/switch.c	2010-01-12 17:20:16 UTC (rev 16262)
@@ -730,6 +730,7 @@
 
 	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,