Skip to content
Snippets Groups Projects
Commit bb70a0f6 authored by rswindell's avatar rswindell
Browse files

Using chdir() instead of Microsoft's _chdir()

parent f5c04cd1
No related branches found
No related tags found
No related merge requests found
......@@ -2963,7 +2963,7 @@ void DLLCALL bbs_thread(void* arg)
lprintf("Initializing on %.24s with options: %lx"
,ctime(&t),startup->options);
if(_chdir(startup->ctrl_dir)!=0)
if(chdir(startup->ctrl_dir)!=0)
lprintf("!ERROR changing directory to: %s", startup->ctrl_dir);
/* Initial configuration and load from CNF files */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment