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

The individual BOOL pointer parameters may be NULL (and will be ignored).

parent f8d4fd32
No related branches found
No related tags found
No related merge requests found
...@@ -186,8 +186,8 @@ void sbbs_read_ini( ...@@ -186,8 +186,8 @@ void sbbs_read_ini(
section = "BBS"; section = "BBS";
*run_bbs if(run_bbs!=NULL)
=iniGetBool(fp,section,"AutoStart",TRUE); *run_bbs=iniGetBool(fp,section,"AutoStart",TRUE);
bbs->telnet_interface bbs->telnet_interface
=iniGetIpAddress(fp,section,"TelnetInterface",INADDR_ANY); =iniGetIpAddress(fp,section,"TelnetInterface",INADDR_ANY);
...@@ -253,8 +253,8 @@ void sbbs_read_ini( ...@@ -253,8 +253,8 @@ void sbbs_read_ini(
section = "FTP"; section = "FTP";
*run_ftp if(run_ftp!=NULL)
=iniGetBool(fp,section,"AutoStart",TRUE); *run_ftp=iniGetBool(fp,section,"AutoStart",TRUE);
ftp->interface_addr ftp->interface_addr
=iniGetIpAddress(fp,section,"Interface",INADDR_ANY); =iniGetIpAddress(fp,section,"Interface",INADDR_ANY);
...@@ -296,8 +296,8 @@ void sbbs_read_ini( ...@@ -296,8 +296,8 @@ void sbbs_read_ini(
section = "Mail"; section = "Mail";
*run_mail if(run_mail!=NULL)
=iniGetBool(fp,section,"AutoStart",TRUE); *run_mail=iniGetBool(fp,section,"AutoStart",TRUE);
mail->interface_addr mail->interface_addr
=iniGetIpAddress(fp,section,"Interface",INADDR_ANY); =iniGetIpAddress(fp,section,"Interface",INADDR_ANY);
...@@ -358,8 +358,8 @@ void sbbs_read_ini( ...@@ -358,8 +358,8 @@ void sbbs_read_ini(
section = "Services"; section = "Services";
*run_services if(run_services!=NULL)
=iniGetBool(fp,section,"AutoStart",TRUE); *run_services=iniGetBool(fp,section,"AutoStart",TRUE);
services->interface_addr services->interface_addr
=iniGetIpAddress(fp,section,"Interface",INADDR_ANY); =iniGetIpAddress(fp,section,"Interface",INADDR_ANY);
...@@ -388,8 +388,8 @@ void sbbs_read_ini( ...@@ -388,8 +388,8 @@ void sbbs_read_ini(
section = "Web"; section = "Web";
*run_web if(run_web!=NULL)
=iniGetBool(fp,section,"AutoStart",FALSE); *run_web=iniGetBool(fp,section,"AutoStart",FALSE);
web->interface_addr web->interface_addr
=iniGetIpAddress(fp,section,"Interface",INADDR_ANY); =iniGetIpAddress(fp,section,"Interface",INADDR_ANY);
......
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