| 1 |
/*************************************************************************** |
/* SPDX-License-Identifier: GPL-3.0-or-later */ |
| 2 |
article_favor_display.c - description |
/* |
| 3 |
------------------- |
* article_favor_display |
| 4 |
Copyright : (C) 2004-2025 by Leaflet |
* - user interactive feature to display favorite articles |
| 5 |
Email : leaflet@leafok.com |
* |
| 6 |
***************************************************************************/ |
* Copyright (C) 2004-2025 Leaflet <leaflet@leafok.com> |
| 7 |
|
*/ |
| 8 |
/*************************************************************************** |
|
| 9 |
* * |
#ifdef HAVE_CONFIG_H |
| 10 |
* This program is free software; you can redistribute it and/or modify * |
#include "config.h" |
| 11 |
* it under the terms of the GNU General Public License as published by * |
#endif |
|
* the Free Software Foundation; either version 3 of the License, or * |
|
|
* (at your option) any later version. * |
|
|
* * |
|
|
***************************************************************************/ |
|
| 12 |
|
|
| 13 |
#include "article_favor_display.h" |
#include "article_favor_display.h" |
| 14 |
#include "article_view_log.h" |
#include "article_view_log.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 |