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

Diff of /monit/p.y

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

revision 1.119 by martinp, Mon Sep 8 18:58:58 2003 UTC revision 1.120 by martinp, Mon Sep 8 19:09:21 2003 UTC
# Line 1136  static void createservice(int type, char Line 1136  static void createservice(int type, char
1136    ASSERT(value);    ASSERT(value);
1137    
1138    if(current) {    if(current) {
     createinfo();  
1139      addservice(current);      addservice(current);
1140    } else {    } else {
1141      NEW(current);      NEW(current);
     createinfo();  
1142    }    }
1143    
1144      createinfo();
1145    
1146    /* Reset the current object */    /* Reset the current object */
1147    memset(current, 0, sizeof(*current));    memset(current, 0, sizeof(*current));
1148    

Legend:
Removed from v.1.119  
changed lines
  Added in v.1.120

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