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

Diff of /lbbs/src/main.c

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

Revision 1.64 by sysadm, Thu Oct 23 01:16:56 2025 UTC Revision 1.65 by sysadm, Thu Oct 23 04:09:13 2025 UTC
# Line 287  int main(int argc, char *argv[]) Line 287  int main(int argc, char *argv[])
287    
288          log_common("Initially load %d articles, last_aid = %d\n", article_block_article_count(), article_block_last_aid());          log_common("Initially load %d articles, last_aid = %d\n", article_block_article_count(), article_block_last_aid());
289    
290            if ((ret = user_stat_update()) < 0)
291            {
292                    log_error("user_stat_update() error\n");
293                    goto cleanup;
294            }
295    
296          // Set signal handler          // Set signal handler
297          act.sa_handler = sig_hup_handler;          act.sa_handler = sig_hup_handler;
298          if (sigaction(SIGHUP, &act, NULL) == -1)          if (sigaction(SIGHUP, &act, NULL) == -1)


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

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