Changeset 4575 for trunk/Ohana/src/opihi/pcontrol/CheckHost.c
- Timestamp:
- Jul 16, 2005, 11:01:59 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pcontrol/CheckHost.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pcontrol/CheckHost.c
r4450 r4575 12 12 switch (status) { 13 13 case 0: 14 fprintf (stderr, "host %s is down\n", host[0].hostname);14 if (VerboseMode()) fprintf (stderr, "host %s is down\n", host[0].hostname); 15 15 16 16 /* if host has a job, job is dead, push to Pending */ … … 33 33 34 34 case -1: 35 fprintf (stderr, "host %s is not responding\n", host[0].hostname);35 if (VerboseMode()) fprintf (stderr, "host %s is not responding\n", host[0].hostname); 36 36 /*** do we mark this in some way (HUNG) ? ***/ 37 37 PutHost (host, host[0].stack, STACK_BOTTOM); … … 40 40 41 41 default: 42 /* fprintf (stderr, "host %s is alive\n", host[0].hostname); */42 if (VerboseMode()) fprintf (stderr, "host %s is alive\n", host[0].hostname); 43 43 PutHost (host, host[0].stack, STACK_BOTTOM); 44 44 FreeIOBuffer (&buffer); 45 45 return (TRUE); 46 46 } 47 fprintf (stderr, "programming error (Check Host)\n");47 fprintf (stderr, "programming error: should not reach here (Check Host)\n"); 48 48 return (FALSE); 49 49 }
Note:
See TracChangeset
for help on using the changeset viewer.
