Commit 1536ec45 authored by rswindell's avatar rswindell
Browse files

Using new xpdev PATH_DELIM macro (instead of BACKSLASH).

parent bb48e5e5
......@@ -410,13 +410,13 @@ int main(int argc, char** argv) {
strcat(ctrl_dir,"/");
gethostname(str,sizeof(str)-1);
sprintf(ini_file,"%s%c%s.ini",ctrl_dir,BACKSLASH,str);
sprintf(ini_file,"%s%c%s.ini",ctrl_dir,PATH_DELIM,str);
#if defined(PREFIX)
if(!fexistcase(ini_file))
sprintf(ini_file,"%s/etc/sbbs.ini",PREFIX);
#endif
if(!fexistcase(ini_file))
sprintf(ini_file,"%s%csbbs.ini",ctrl_dir,BACKSLASH);
sprintf(ini_file,"%s%csbbs.ini",ctrl_dir,PATH_DELIM);
/* Initialize BBS startup structure */
memset(&bbs_startup,0,sizeof(bbs_startup));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment