| 74 |
log_error("article_block_find_by_index(index=%d) error\n", i); |
log_error("article_block_find_by_index(index=%d) error\n", i); |
| 75 |
break; |
break; |
| 76 |
} |
} |
| 77 |
|
|
| 78 |
|
if (p_article->visible == 0) |
| 79 |
|
{ |
| 80 |
|
continue; |
| 81 |
|
} |
| 82 |
|
|
| 83 |
if (p_article->uid > p_map->last_uid) |
if (p_article->uid > p_map->last_uid) |
| 84 |
{ |
{ |
| 85 |
#ifdef _DEBUG |
#ifdef _DEBUG |
| 86 |
log_error("uid=%d of article(aid=%d) is greater than last_uid=%d, waiting for next user list update\n", |
log_error("uid=%d of article(aid=%d) is greater than last_uid=%d\n", |
| 87 |
p_article->uid, p_article->aid, p_map->last_uid); |
p_article->uid, p_article->aid, p_map->last_uid); |
| 88 |
#endif |
#endif |
| 89 |
break; |
continue; |
| 90 |
} |
} |
| 91 |
|
|
| 92 |
if (user_stat_article_cnt_inc(p_map, p_article->uid, 1) < 0) |
if (user_stat_article_cnt_inc(p_map, p_article->uid, 1) < 0) |