| 514 |
int page_id_cur; |
int page_id_cur; |
| 515 |
const ARTICLE *p_article_locate; |
const ARTICLE *p_article_locate; |
| 516 |
|
|
| 517 |
p_section = section_list_find_by_name(sname, §ion_index); |
p_section = section_list_find_by_name(sname); |
| 518 |
if (p_section == NULL) |
if (p_section == NULL) |
| 519 |
{ |
{ |
| 520 |
log_error("Section %s not found\n", sname); |
log_error("Section %s not found\n", sname); |
| 521 |
return -1; |
return -1; |
| 522 |
} |
} |
| 523 |
|
|
| 524 |
|
section_index = get_section_index(p_section); |
| 525 |
|
|
| 526 |
if ((ret = section_list_rd_lock(p_section)) < 0) |
if ((ret = section_list_rd_lock(p_section)) < 0) |
| 527 |
{ |
{ |
| 528 |
log_error("section_list_rd_lock(sid = 0) error\n"); |
log_error("section_list_rd_lock(sid = 0) error\n"); |