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

Diff of /lbbs/src/section_list_display.c

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

Revision 1.49 by sysadm, Mon Oct 13 07:40:35 2025 UTC Revision 1.50 by sysadm, Tue Oct 14 00:57:06 2025 UTC
# Line 514  int section_list_display(const char *sna Line 514  int section_list_display(const char *sna
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, &section_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");


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

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