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

Diff of /lbbs/src/net_server.c

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

Revision 1.39 by sysadm, Sun May 25 06:55:23 2025 UTC Revision 1.42 by sysadm, Tue May 27 03:25:02 2025 UTC
# Line 25  Line 25 
25  #include "fork.h"  #include "fork.h"
26  #include "menu.h"  #include "menu.h"
27  #include "file_loader.h"  #include "file_loader.h"
28    #include "section_list_loader.h"
29  #include <errno.h>  #include <errno.h>
30  #include <fcntl.h>  #include <fcntl.h>
31  #include <string.h>  #include <string.h>
# Line 214  int net_server(const char *hostaddr, in_ Line 215  int net_server(const char *hostaddr, in_
215                          sd_notify(0, "READY=1");                          sd_notify(0, "READY=1");
216                  }                  }
217    
218                    if (SYS_section_list_reload && !SYS_server_exit)
219                    {
220                            SYS_section_list_reload = 0;
221    
222                            if (section_list_loader_reload() < 0)
223                            {
224                                    log_error("ksection_list_loader_reload() failed\n");
225                            }
226                    }
227    
228                  nfds = epoll_wait(epollfd, events, MAX_EVENTS, 100); // 0.1 second                  nfds = epoll_wait(epollfd, events, MAX_EVENTS, 100); // 0.1 second
229    
230                  if (nfds < 0)                  if (nfds < 0)


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

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