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

Diff of /lbbs/src/section_list_display.c

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

Revision 1.81 by sysadm, Wed Dec 17 03:47:00 2025 UTC Revision 1.83 by sysadm, Thu Dec 18 10:43:48 2025 UTC
# Line 281  static enum select_cmd_t section_list_se Line 281  static enum select_cmd_t section_list_se
281                  switch (ch)                  switch (ch)
282                  {                  {
283                  case KEY_NULL: // broken pipe                  case KEY_NULL: // broken pipe
284  #ifdef _DEBUG                          log_debug("KEY_NULL\n");
                         log_error("KEY_NULL\n");  
 #endif  
285                          return EXIT_SECTION;                          return EXIT_SECTION;
286                  case KEY_TIMEOUT:                  case KEY_TIMEOUT:
287                          if (time(NULL) - BBS_last_access_tm >= BBS_max_user_idle_time)                          if (time(NULL) - BBS_last_access_tm >= BBS_max_user_idle_time)
288                          {                          {
289                                  log_error("User input timeout\n");                                  log_debug("User input timeout\n");
290                                  return EXIT_SECTION;                                  return EXIT_SECTION;
291                          }                          }
292                          continue;                          continue;
# Line 1417  int section_list_ex_dir_display(SECTION_ Line 1415  int section_list_ex_dir_display(SECTION_
1415                          switch (ch)                          switch (ch)
1416                          {                          {
1417                          case KEY_NULL: // broken pipe                          case KEY_NULL: // broken pipe
1418  #ifdef _DEBUG                                  log_debug("KEY_NULL\n");
                                 log_error("KEY_NULL\n");  
 #endif  
1419                                  loop = 0;                                  loop = 0;
1420                                  break;                                  break;
1421                          case KEY_TIMEOUT:                          case KEY_TIMEOUT:
1422                                  if (time(NULL) - BBS_last_access_tm >= BBS_max_user_idle_time)                                  if (time(NULL) - BBS_last_access_tm >= BBS_max_user_idle_time)
1423                                  {                                  {
1424                                          log_error("User input timeout\n");                                          log_debug("User input timeout\n");
1425                                          loop = 0;                                          loop = 0;
1426                                          break;                                          break;
1427                                  }                                  }


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

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