mcabber/src/main.c
changeset 413 f7e4b0424081
parent 404 fb2325d24d13
child 415 5692c3a13202
equal deleted inserted replaced
412:9c640ee3bae3 413:f7e4b0424081
   173   credits();
   173   credits();
   174 
   174 
   175   signal(SIGTERM, sig_handler);
   175   signal(SIGTERM, sig_handler);
   176   signal(SIGINT,  sig_handler);
   176   signal(SIGINT,  sig_handler);
   177   signal(SIGCHLD, sig_handler);
   177   signal(SIGCHLD, sig_handler);
       
   178   signal(SIGPIPE, SIG_IGN);
   178 
   179 
   179   /* Parse command line options */
   180   /* Parse command line options */
   180   while (1) {
   181   while (1) {
   181     int c = getopt(argc, argv, "hf:");
   182     int c = getopt(argc, argv, "hf:");
   182     if (c == -1) {
   183     if (c == -1) {