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

Global host_name needed to be a char buffer, not a pointer.

parent 62d52fb8
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,7 @@ void sbbs_read_ini(
const char* default_term;
const char* default_cgi_temp;
char* ctrl_dir;
char* host_name;
char host_name[128];
section = "Global";
......@@ -127,7 +127,7 @@ void sbbs_read_ini(
SAFECOPY(services->ctrl_dir,ctrl_dir);
}
host_name=iniReadString(fp,section,"HostName",nulstr);
SAFECOPY(host_name,iniReadString(fp,section,"HostName",nulstr));
/***********************************************************************/
section = "BBS";
......
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