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

Diff of /monit/state.c

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

revision 1.5 by hauk, Mon Jun 16 22:06:15 2003 UTC revision 1.6 by hauk, Wed Jul 2 19:32:03 2003 UTC
# Line 68  typedef struct mystate { Line 68  typedef struct mystate {
68    int  mode;          int  mode;      
69    int  nstart;        int  nstart;    
70    int  ncycle;        int  ncycle;    
71    int  do_validate;    int  do_monitor;
72    int  has_checksum_error;    int  has_checksum_error;
73  } State_T;  } State_T;
74    
# Line 256  static void clone_state(Service_T servic Line 256  static void clone_state(Service_T servic
256    state->mode= service->mode;    state->mode= service->mode;
257    state->nstart= service->nstart;    state->nstart= service->nstart;
258    state->ncycle= service->ncycle;    state->ncycle= service->ncycle;
259    state->do_validate= service->do_validate;    state->do_monitor= service->do_monitor;
260    state->has_checksum_error= service->has_checksum_error;    state->has_checksum_error= service->has_checksum_error;
261    
262  }  }
# Line 267  static void update_service_state(Service Line 267  static void update_service_state(Service
267    service->mode= state->mode;    service->mode= state->mode;
268    service->nstart= state->nstart;    service->nstart= state->nstart;
269    service->ncycle= state->ncycle;    service->ncycle= state->ncycle;
270    service->do_validate= state->do_validate;    service->do_monitor= state->do_monitor;
271    service->has_checksum_error= state->has_checksum_error;    service->has_checksum_error= state->has_checksum_error;
272        
273  }  }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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