Parent Directory
|
Revision Log
|
Patch
| Revision 1.14 by sysadm, Sat May 24 03:32:32 2025 UTC | Revision 1.15 by sysadm, Sat May 24 03:41:34 2025 UTC | |
|---|---|---|
| # | Line 952 int article_count_of_topic(int32_t aid) | Line 952 int article_count_of_topic(int32_t aid) |
| 952 | ||
| 953 | do | do |
| 954 | { | { |
| 955 | if (p_article->tid != 0 && p_article->tid != aid) | |
| 956 | { | |
| 957 | log_error("article_count_of_topic(%d) error: article %d not linked to the topic\n", aid, p_article->aid); | |
| 958 | break; | |
| 959 | } | |
| 960 | ||
| 961 | article_count++; | article_count++; |
| 962 | p_article = p_article->p_topic_next; | p_article = p_article->p_topic_next; |
| 963 | } while (p_article->aid != aid); | } while (p_article->aid != aid); |
|
||||||||
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |