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

Diff of /monit/control.c

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

revision 1.15 by rory, Sat Dec 7 08:41:39 2002 UTC revision 1.16 by rory, Mon Dec 16 20:47:23 2002 UTC
# Line 348  void mark_dependants(Process_T p) { Line 348  void mark_dependants(Process_T p) {
348    
349    for (d= p->dependantlist; d; d= d->next ) {    for (d= p->dependantlist; d; d= d->next ) {
350    
351      if( d->dependant == NULL ) {      if( get_process(d->dependant) != NULL ) {
       break;  
352    
     } else {  
       
353        dp= get_process(d->dependant);        dp= get_process(d->dependant);
354        dp->parent= p->name;        dp->parent= p->name;
355    
356        } else {
357    
358          break;
359    
360      }      }
361    
362    }    }
363    
364  }  }
365    
366    

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

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