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

Diff of /monit/control.c

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

revision 1.35 by hauk, Mon Dec 23 11:10:00 2002 UTC revision 1.36 by martinp, Mon Dec 30 15:25:30 2002 UTC
# Line 317  static void do_stop(Process_T p, int tog Line 317  static void do_stop(Process_T p, int tog
317    if(p->stop && p->do_validate && is_process_running(p)) {    if(p->stop && p->do_validate && is_process_running(p)) {
318      log("stop: (%s) %s\n", p->name, p->stop->arg[0]);      log("stop: (%s) %s\n", p->name, p->stop->arg[0]);
319      spawn(p, p->stop);      spawn(p, p->stop);
     memset(p->procinfo, 0, sizeof *(p->procinfo));  
320      wait_stop(p);      wait_stop(p);
321    }    }
322    

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

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