]> andersk Git - moira.git/commitdiff
don't initialize (deleted) state variable; don't print child message
authormar <mar>
Thu, 29 Dec 1988 18:01:03 +0000 (18:01 +0000)
committermar <mar>
Thu, 29 Dec 1988 18:01:03 +0000 (18:01 +0000)
on exit

server/mr_main.c

index aaf1093c22be5ed0e53a8c9e01a3a1f662b2563c..9e61f2430df618b64bed1c20b9207287d9a5a4a9 100644 (file)
@@ -288,7 +288,6 @@ new_connection()
         */
        cp = (client *)malloc(sizeof *cp);
        bzero(cp, sizeof(*cp));
-       cp->state = CL_STARTING;
        cp->action = CL_ACCEPT;
        cp->con = newconn;
        cp->id = counter++;
@@ -442,6 +441,8 @@ void reapchild()
     union wait status;
     int pid;
 
+    if (takedown)
+      return;
     while ((pid = wait3(&status, WNOHANG, (struct rusage *)0)) > 0) {
        if  (status.w_termsig == 0 && status.w_retcode == 0)
          com_err(whoami, 0, "dcm started successfully");
This page took 0.602693 seconds and 5 git commands to generate.