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

Diff of /monit/util.c

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

revision 1.159 by chopp, Fri Aug 5 09:38:09 2005 UTC revision 1.160 by martinp, Fri Aug 5 11:21:18 2005 UTC
# Line 686  void Util_printService(Service_T s) { Line 686  void Util_printService(Service_T s) {
686      for(i= s->icmplist; i; i= i->next) {      for(i= s->icmplist; i; i= i->next) {
687        EventAction_T a= i->action;        EventAction_T a= i->action;
688    
689        printf(" %-20s = if failed %s with timeout %d seconds then %s "        printf(" %-20s = if failed %s count %d with timeout %d seconds then %s "
690          "else if recovered then %s\n",          "else if recovered then %s\n",
691          "ICMP", icmpnames[i->type], i->timeout, actionnames[a->failed->id],          "ICMP", icmpnames[i->type], i->count, i->timeout,
692          actionnames[a->passed->id]);          actionnames[a->failed->id], actionnames[a->passed->id]);
693      }      }
694    
695    if(s->portlist) {    if(s->portlist) {

Legend:
Removed from v.1.159  
changed lines
  Added in v.1.160

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