Diff for /mqtt/src/mqttd.c between versions 1.1.1.1.2.13 and 1.1.1.1.2.14

version 1.1.1.1.2.13, 2011/12/14 15:09:31 version 1.1.1.1.2.14, 2011/12/29 14:13:13
Line 51  sigHand(int sig) Line 51  sigHand(int sig)
                 case SIGCHLD:                  case SIGCHLD:
                         while (waitpid(-1, &stat, WNOHANG) > 0);                          while (waitpid(-1, &stat, WNOHANG) > 0);
                         break;                          break;
                   case SIGPIPE:
                           break;
         }          }
 }  }
   
Line 157  main(int argc, char **argv) Line 159  main(int argc, char **argv)
         sigaction(SIGHUP, &sa, NULL);          sigaction(SIGHUP, &sa, NULL);
         sigaction(SIGTERM, &sa, NULL);          sigaction(SIGTERM, &sa, NULL);
         sigaction(SIGCHLD, &sa, NULL);          sigaction(SIGCHLD, &sa, NULL);
           sigaction(SIGPIPE, &sa, NULL);
         ioDEBUG(2, "Service is ready for start engine ...");          ioDEBUG(2, "Service is ready for start engine ...");
   
         if ((sock = srv_Socket(&cfg)) == -1) {          if ((sock = srv_Socket(&cfg)) == -1) {

Removed from v.1.1.1.1.2.13  
changed lines
  Added in v.1.1.1.1.2.14


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>