| 3 |
* section_list_display |
* section_list_display |
| 4 |
* - user interactive feature of section articles list |
* - user interactive feature of section articles list |
| 5 |
* |
* |
| 6 |
* Copyright (C) 2004-2025 by Leaflet <leaflet@leafok.com> |
* Copyright (C) 2004-2025 Leaflet <leaflet@leafok.com> |
| 7 |
*/ |
*/ |
| 8 |
|
|
| 9 |
#include "article_cache.h" |
#include "article_cache.h" |
| 271 |
log_error("KEY_NULL\n"); |
log_error("KEY_NULL\n"); |
| 272 |
return EXIT_SECTION; |
return EXIT_SECTION; |
| 273 |
case KEY_TIMEOUT: |
case KEY_TIMEOUT: |
| 274 |
if (time(NULL) - BBS_last_access_tm >= MAX_DELAY_TIME) |
if (time(NULL) - BBS_last_access_tm >= BBS_max_user_idle_time) |
| 275 |
{ |
{ |
| 276 |
log_error("User input timeout\n"); |
log_error("User input timeout\n"); |
| 277 |
return EXIT_SECTION; |
return EXIT_SECTION; |
| 1398 |
log_error("KEY_NULL\n"); |
log_error("KEY_NULL\n"); |
| 1399 |
return 0; |
return 0; |
| 1400 |
case KEY_TIMEOUT: |
case KEY_TIMEOUT: |
| 1401 |
if (time(NULL) - BBS_last_access_tm >= MAX_DELAY_TIME) |
if (time(NULL) - BBS_last_access_tm >= BBS_max_user_idle_time) |
| 1402 |
{ |
{ |
| 1403 |
log_error("User input timeout\n"); |
log_error("User input timeout\n"); |
| 1404 |
return 0; |
return 0; |