| 3 |
* article_favor_display |
* article_favor_display |
| 4 |
* - user interactive feature to display favorite articles |
* - user interactive feature to display favorite articles |
| 5 |
* |
* |
| 6 |
* Copyright (C) 2004-2025 by Leaflet <leaflet@leafok.com> |
* Copyright (C) 2004-2025 Leaflet <leaflet@leafok.com> |
| 7 |
*/ |
*/ |
| 8 |
|
|
| 9 |
|
#ifdef HAVE_CONFIG_H |
| 10 |
|
#include "config.h" |
| 11 |
|
#endif |
| 12 |
|
|
| 13 |
#include "article_favor_display.h" |
#include "article_favor_display.h" |
| 14 |
#include "article_view_log.h" |
#include "article_view_log.h" |
| 15 |
#include "io.h" |
#include "io.h" |
| 171 |
case KEY_LEFT: |
case KEY_LEFT: |
| 172 |
return EXIT_LIST; // exit list |
return EXIT_LIST; // exit list |
| 173 |
case KEY_TIMEOUT: |
case KEY_TIMEOUT: |
| 174 |
if (time(NULL) - BBS_last_access_tm >= MAX_DELAY_TIME) |
if (time(NULL) - BBS_last_access_tm >= BBS_max_user_idle_time) |
| 175 |
{ |
{ |
| 176 |
log_error("User input timeout\n"); |
log_error("User input timeout\n"); |
| 177 |
return EXIT_LIST; // exit list |
return EXIT_LIST; // exit list |