/[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.119 by sysadm, Wed Dec 17 03:47:00 2025 UTC Revision 1.120 by sysadm, Thu Dec 18 02:56:00 2025 UTC
# Line 171  int bbs_center() Line 171  int bbs_center()
171                  if (ch != KEY_NULL && ch != KEY_TIMEOUT)                  if (ch != KEY_NULL && ch != KEY_TIMEOUT)
172                  {                  {
173                          BBS_last_access_tm = time(NULL);                          BBS_last_access_tm = time(NULL);
174  #ifdef _DEBUG                          log_debug("Debug: BBS_last_access_tm is updated\n");
                         log_error("Debug: BBS_last_access_tm is updated\n");  
 #endif  
175                  }                  }
176    
177                  if (bbs_menu.choose_step == 0 && time(NULL) - t_last_action >= 10)                  if (bbs_menu.choose_step == 0 && time(NULL) - t_last_action >= 10)
# Line 194  int bbs_center() Line 192  int bbs_center()
192                  switch (ch)                  switch (ch)
193                  {                  {
194                  case KEY_NULL: // broken pipe                  case KEY_NULL: // broken pipe
195  #ifdef _DEBUG                          log_debug("KEY_NULL\n");
                         log_error("KEY_NULL\n");  
 #endif  
196                          loop = 0;                          loop = 0;
197                          break;                          break;
198                  case KEY_TIMEOUT:                  case KEY_TIMEOUT:


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

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