/[monit]/monit/validate.c
ViewVC logotype

Diff of /monit/validate.c

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

revision 1.17 by rory, Thu Sep 26 02:39:27 2002 UTC revision 1.18 by hauk, Tue Oct 1 14:53:01 2002 UTC
# Line 478  static int check_connection(Process_T p, Line 478  static int check_connection(Process_T p,
478    if (pp->ssl != NULL) {    if (pp->ssl != NULL) {
479    
480      cleanup_ssl_socket(pp->ssl);      cleanup_ssl_socket(pp->ssl);
481        
482    }    }
483    
484    close_socket(pp->socket);    close_socket(pp->socket);
# Line 503  static int check_process_state(Process_T Line 503  static int check_process_state(Process_T
503    
504      log("'%s' %s\n", p->name, report);      log("'%s' %s\n", p->name, report);
505    
506        /* We do not check the process anymore if it's a zombie
507         since such a process is (usually) unmanageable */
508        LOCK(Run.mutex)
509            p->do_validate= FALSE;
510        END_LOCK;
511        
512      return FALSE;      return FALSE;
513    
514    } else {    } else {

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26