/[monit]/monit/p.y
ViewVC logotype

Diff of /monit/p.y

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

revision 1.37 by rory, Sat Nov 9 01:08:24 2002 UTC revision 1.38 by rory, Mon Nov 11 22:38:54 2002 UTC
# Line 727  static void adddependant(char *dependant Line 727  static void adddependant(char *dependant
727    
728    ASSERT(dependant);    ASSERT(dependant);
729    
730    d->next = NULL;    if (current->dependantlist != NULL) {
   
   if (current->dependantlist != NULL) {  
731      d->next= current->dependantlist;      d->next= current->dependantlist;
732    }    }
733    
734    d->dependant= dependant;    d->dependant=dependant;
735    current->dependantlist= d;    current->dependantlist= d;
736    
737  }  }

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

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