/[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.88 by sysadm, Tue Dec 2 08:04:29 2025 UTC Revision 1.89 by sysadm, Tue Dec 16 13:00:19 2025 UTC
# Line 393  int main(int argc, char *argv[]) Line 393  int main(int argc, char *argv[])
393                  goto cleanup;                  goto cleanup;
394          }          }
395          act.sa_handler = SIG_IGN;          act.sa_handler = SIG_IGN;
396            if (sigaction(SIGPIPE, &act, NULL) == -1)
397            {
398                    log_error("set signal action of SIGPIPE error: %d\n", errno);
399                    goto cleanup;
400            }
401            act.sa_handler = SIG_IGN;
402          if (sigaction(SIGUSR1, &act, NULL) == -1)          if (sigaction(SIGUSR1, &act, NULL) == -1)
403          {          {
404                  log_error("set signal action of SIGUSR1 error: %d\n", errno);                  log_error("set signal action of SIGUSR1 error: %d\n", errno);


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

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