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

Diff of /monit/state.c

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

revision 1.7 by hauk, Tue Jul 15 01:02:58 2003 UTC revision 1.8 by martinp, Tue Aug 5 07:55:22 2003 UTC
# Line 72  typedef struct mystate { Line 72  typedef struct mystate {
72    int  ncycle;        int  ncycle;    
73    int  do_monitor;    int  do_monitor;
74    int  has_checksum_error;    int  has_checksum_error;
75      int  has_permission_error;
76  } State_T;  } State_T;
77    
78    
# Line 260  static void clone_state(Service_T servic Line 261  static void clone_state(Service_T servic
261    state->ncycle= service->ncycle;    state->ncycle= service->ncycle;
262    state->do_monitor= service->do_monitor;    state->do_monitor= service->do_monitor;
263    state->has_checksum_error= service->has_checksum_error;    state->has_checksum_error= service->has_checksum_error;
264      state->has_permission_error= service->has_permission_error;
265    
266  }  }
267    
# Line 271  static void update_service_state(Service Line 273  static void update_service_state(Service
273    service->ncycle= state->ncycle;    service->ncycle= state->ncycle;
274    service->do_monitor= state->do_monitor;    service->do_monitor= state->do_monitor;
275    service->has_checksum_error= state->has_checksum_error;    service->has_checksum_error= state->has_checksum_error;
276      service->has_permission_error= state->has_permission_error;
277        
278  }  }

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

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