/[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.38 by sysadm, Thu Jun 26 12:17:02 2025 UTC Revision 1.39 by sysadm, Wed Jul 23 01:15:21 2025 UTC
# Line 17  Line 17 
17  #include "article_cache.h"  #include "article_cache.h"
18  #include "bbs.h"  #include "bbs.h"
19  #include "database.h"  #include "database.h"
20    #include "ip_mask.h"
21  #include "log.h"  #include "log.h"
22  #include "menu.h"  #include "menu.h"
23  #include "section_list_loader.h"  #include "section_list_loader.h"
# Line 664  cleanup: Line 665  cleanup:
665          return (ret < 0 ? ret : op_count);          return (ret < 0 ? ret : op_count);
666  }  }
667    
668    static void section_list_ex_menu_set_cleanup(void)
669    {
670            int i;
671    
672            for (i = 0; i < p_section_list_pool->section_count; i++)
673            {
674                    if (p_section_list_pool->sections[i].ex_menu_tm > 0)
675                    {
676                            unload_menu(&(p_section_list_pool->sections[i].ex_menu_set));
677                    }
678            }
679    }
680    
681  int section_list_loader_launch(void)  int section_list_loader_launch(void)
682  {  {
683          struct sigaction act = {0};          struct sigaction act = {0};


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

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