/[LeafOK_CVS]/lbbs/src/init.c
ViewVC logotype

Diff of /lbbs/src/init.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.22 by sysadm, Wed Jun 4 13:27:09 2025 UTC Revision 1.24 by sysadm, Thu Jun 5 08:36:02 2025 UTC
# Line 130  int load_conf(const char *conf_file) Line 130  int load_conf(const char *conf_file)
130                  }                  }
131                  else if (strcasecmp(p, "bbs_port") == 0)                  else if (strcasecmp(p, "bbs_port") == 0)
132                  {                  {
133                          BBS_port = (in_port_t)atoi(q);                          BBS_port[0] = (in_port_t)atoi(q);
134                  }                  }
135                  else if (strcasecmp(p, "bbs_ssh") == 0)                  else if (strcasecmp(p, "bbs_ssh_port") == 0)
136                  {                  {
137                          BBS_ssh_v2 = (strcasecmp(q, "v2") == 0 ? 1 : 0);                          BBS_port[1] = (in_port_t)atoi(q);
138                  }                  }
139                  else if (strcasecmp(p, "bbs_max_client") == 0)                  else if (strcasecmp(p, "bbs_max_client") == 0)
140                  {                  {


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1