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

Diff of /lbbs/src/section_list_loader.c

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

Revision 1.60 by sysadm, Mon Nov 3 15:05:02 2025 UTC Revision 1.61 by sysadm, Tue Nov 4 01:49:26 2025 UTC
# Line 1039  int locate_article_in_section(SECTION_LI Line 1039  int locate_article_in_section(SECTION_LI
1039                                                  break;                                                  break;
1040                                          }                                          }
1041                                  }                                  }
1042    
1043                                  p_article = p_article->p_next;                                  p_article = p_article->p_next;
1044                                    if (p_article == p_section->p_page_first_article[page_id])
1045                                    {
1046                                            log_error("Dead loop detected at page=%d, article_count=%d\n", page_id, *p_article_count);
1047                                            break;
1048                                    }
1049                          }                          }
1050    
1051                          // Include ontop articles                          // Include ontop articles
# Line 1223  int scan_article_in_section_by_username( Line 1229  int scan_article_in_section_by_username(
1229  }  }
1230    
1231  int scan_article_in_section_by_title(SECTION_LIST *p_section, const ARTICLE *p_article_cur,  int scan_article_in_section_by_title(SECTION_LIST *p_section, const ARTICLE *p_article_cur,
1232                                                                                  int direction, const char *title, const ARTICLE **pp_article)                                                                           int direction, const char *title, const ARTICLE **pp_article)
1233  {  {
1234          ARTICLE *p_article;          ARTICLE *p_article;
1235          int ret = 0;          int ret = 0;


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

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