--- lbbs/src/user_stat.c 2025/11/04 13:49:51 1.4 +++ lbbs/src/user_stat.c 2025/12/18 02:56:01 1.7 @@ -3,9 +3,13 @@ * user_stat * - data model and basic operations of user related statistics * - * Copyright (C) 2004-2025 by Leaflet + * Copyright (C) 2004-2025 Leaflet */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "log.h" #include "section_list.h" #include "user_list.h" @@ -74,10 +78,8 @@ int user_stat_map_update(USER_STAT_MAP * if (p_article->uid > p_map->last_uid) { -#ifdef _DEBUG - log_error("uid=%d of article(aid=%d) is greater than last_uid=%d\n", + log_debug("uid=%d of article(aid=%d) is greater than last_uid=%d\n", p_article->uid, p_article->aid, p_map->last_uid); -#endif continue; }