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

Diff of /monit/state.c

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

revision 1.9 by martinp, Mon Aug 11 23:30:54 2003 UTC revision 1.10 by martinp, Tue Aug 12 11:22:17 2003 UTC
# Line 263  static void clone_state(Service_T servic Line 263  static void clone_state(Service_T servic
263    state->ncycle= service->ncycle;    state->ncycle= service->ncycle;
264    state->do_monitor= service->do_monitor;    state->do_monitor= service->do_monitor;
265    state->has_checksum_error= service->has_checksum_error;    state->has_checksum_error= service->has_checksum_error;
266    state->has_permission_error= service->has_permission_error;    state->has_permission_error= service->perm?service->perm->has_error:FALSE;
267    state->has_uid_error= service->uid?service->uid->has_error:FALSE;    state->has_uid_error= service->uid?service->uid->has_error:FALSE;
268    state->has_gid_error= service->gid?service->gid->has_error:FALSE;    state->has_gid_error= service->gid?service->gid->has_error:FALSE;
269    
# Line 277  static void update_service_state(Service Line 277  static void update_service_state(Service
277    service->ncycle= state->ncycle;    service->ncycle= state->ncycle;
278    service->do_monitor= state->do_monitor;    service->do_monitor= state->do_monitor;
279    service->has_checksum_error= state->has_checksum_error;    service->has_checksum_error= state->has_checksum_error;
280    service->has_permission_error= state->has_permission_error;    if(service->perm)
281        service->perm->has_error= state->has_permission_error;
282    if(service->uid)    if(service->uid)
283      service->uid->has_error= state->has_uid_error;      service->uid->has_error= state->has_uid_error;
284    if(service->gid)    if(service->gid)

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

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