Changeset 4575 for trunk/Ohana/src/opihi/pcontrol/GetJobOutput.c
- Timestamp:
- Jul 16, 2005, 11:01:59 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pcontrol/GetJobOutput.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pcontrol/GetJobOutput.c
r4573 r4575 38 38 switch (status) { 39 39 case -1: 40 fprintf (stderr, "host %s is not responding\n", host[0].hostname);40 if (VerboseMode()) fprintf (stderr, "host %s is not responding\n", host[0].hostname); 41 41 return (FALSE); 42 42 43 43 case 0: 44 fprintf (stderr, "host %s is down\n", host[0].hostname);44 if (VerboseMode()) fprintf (stderr, "host %s is down\n", host[0].hostname); 45 45 return (FALSE); 46 46 47 47 default: 48 fprintf (stderr, "message received (GetJobOutput : %s)\n", cmd);48 if (VerboseMode()) fprintf (stderr, "message received (GetJobOutput : %s)\n", cmd); 49 49 /* drop extra bytes from pclient (not pclient:job) */ 50 50 buffer[0].Nbuffer = Nstart + Nbytes; … … 55 55 } 56 56 57 fprintf (stderr, "programming error in GetJobOutput (should not reach here)\n");57 fprintf (stderr, "programming error: should not reach here (GetJobOutput)\n"); 58 58 exit (1); 59 59 }
Note:
See TracChangeset
for help on using the changeset viewer.
