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

Diff of /lbbs/src/bbs_main.c

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

Revision 1.84 by sysadm, Fri Oct 17 01:25:08 2025 UTC Revision 1.85 by sysadm, Fri Oct 17 07:07:55 2025 UTC
# Line 219  int bbs_center() Line 219  int bbs_center()
219          {          {
220                  ch = igetch(100);                  ch = igetch(100);
221    
222          if (ch != KEY_NULL && ch != KEY_TIMEOUT)                  if (ch != KEY_NULL && ch != KEY_TIMEOUT)
223          {                  {
224              BBS_last_access_tm = time(NULL);                          BBS_last_access_tm = time(NULL);
225          }                  }
226    
227                  if (bbs_menu.choose_step == 0 && time(NULL) - t_last_action >= 10)                  if (bbs_menu.choose_step == 0 && time(NULL) - t_last_action >= 10)
228                  {                  {
# Line 336  int bbs_main() Line 336  int bbs_main()
336                  prints("\033[1m%s 欢迎使用ssh方式访问 \033[1;33m按任意键继续...\033[m", BBS_username);                  prints("\033[1m%s 欢迎使用ssh方式访问 \033[1;33m按任意键继续...\033[m", BBS_username);
337                  iflush();                  iflush();
338                  igetch_reset();                  igetch_reset();
339                  igetch_t(MAX_DELAY_TIME);                  while (!SYS_server_exit && igetch_t(MAX_DELAY_TIME) == 0)
340                            ;
341          }          }
342          else if (bbs_login() < 0)          else if (bbs_login() < 0)
343          {          {


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

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