| 184 |
article.excerption = 0; |
article.excerption = 0; |
| 185 |
article.ontop = 0; |
article.ontop = 0; |
| 186 |
article.lock = 0; |
article.lock = 0; |
| 187 |
|
article.transship = 0; |
| 188 |
|
|
| 189 |
if (section_list_rw_lock(p_section[i]) < 0) |
if (section_list_rw_lock(p_section[i]) < 0) |
| 190 |
{ |
{ |
| 216 |
printf("last_aid != %d\n", article_block_last_aid()); |
printf("last_aid != %d\n", article_block_last_aid()); |
| 217 |
} |
} |
| 218 |
|
|
| 219 |
|
if (article_block_article_count() != section_count * BBS_article_limit_per_section) |
| 220 |
|
{ |
| 221 |
|
printf("article_block_article_count() error %d != %d * %d\n", |
| 222 |
|
article_block_article_count(), section_count, BBS_article_limit_per_section); |
| 223 |
|
} |
| 224 |
|
|
| 225 |
last_aid = 0; |
last_aid = 0; |
| 226 |
|
|
| 227 |
for (j = 0; j < BBS_article_limit_per_section; j++) |
for (j = 0; j < BBS_article_limit_per_section; j++) |
| 307 |
article.excerption = 0; |
article.excerption = 0; |
| 308 |
article.ontop = 0; |
article.ontop = 0; |
| 309 |
article.lock = 0; |
article.lock = 0; |
| 310 |
|
article.transship = 0; |
| 311 |
|
|
| 312 |
if (section_list_append_article(p_section[i], &article) < 0) |
if (section_list_append_article(p_section[i], &article) < 0) |
| 313 |
{ |
{ |
| 765 |
article.excerption = 0; |
article.excerption = 0; |
| 766 |
article.ontop = 0; |
article.ontop = 0; |
| 767 |
article.lock = 0; |
article.lock = 0; |
| 768 |
|
article.transship = 0; |
| 769 |
|
|
| 770 |
if (section_list_append_article(p_section[i], &article) < 0) |
if (section_list_append_article(p_section[i], &article) < 0) |
| 771 |
{ |
{ |