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

Diff of /lbbs/src/user_stat.c

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

Revision 1.4 by sysadm, Tue Nov 4 13:49:51 2025 UTC Revision 1.7 by sysadm, Thu Dec 18 02:56:01 2025 UTC
# Line 3  Line 3 
3   * user_stat   * user_stat
4   *   - data model and basic operations of user related statistics   *   - data model and basic operations of user related statistics
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 "log.h"  #include "log.h"
14  #include "section_list.h"  #include "section_list.h"
15  #include "user_list.h"  #include "user_list.h"
# Line 74  int user_stat_map_update(USER_STAT_MAP * Line 78  int user_stat_map_update(USER_STAT_MAP *
78    
79                  if (p_article->uid > p_map->last_uid)                  if (p_article->uid > p_map->last_uid)
80                  {                  {
81  #ifdef _DEBUG                          log_debug("uid=%d of article(aid=%d) is greater than last_uid=%d\n",
                         log_error("uid=%d of article(aid=%d) is greater than last_uid=%d\n",  
82                                            p_article->uid, p_article->aid, p_map->last_uid);                                            p_article->uid, p_article->aid, p_map->last_uid);
 #endif  
83                          continue;                          continue;
84                  }                  }
85    


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

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