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

Diff of /monit/state.c

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

revision 1.10 by martinp, Tue Aug 12 11:22:17 2003 UTC revision 1.11 by martinp, Tue Aug 12 13:11:01 2003 UTC
# Line 262  static void clone_state(Service_T servic Line 262  static void clone_state(Service_T servic
262    state->nstart= service->nstart;    state->nstart= service->nstart;
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->checksum?service->checksum->has_error:FALSE;
266    state->has_permission_error= service->perm?service->perm->has_error:FALSE;    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;
# Line 276  static void update_service_state(Service Line 276  static void update_service_state(Service
276    service->nstart= state->nstart;    service->nstart= state->nstart;
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;    if(service->checksum)
280        service->checksum->has_error= state->has_checksum_error;
281    if(service->perm)    if(service->perm)
282      service->perm->has_error= state->has_permission_error;      service->perm->has_error= state->has_permission_error;
283    if(service->uid)    if(service->uid)

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

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