Changeset 7917 for trunk/Ohana/src/opihi/pcontrol/GetJobOutput.c
- Timestamp:
- Jul 16, 2006, 10:58:49 PM (20 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
r4762 r7917 40 40 switch (status) { 41 41 case -1: 42 if (VerboseMode()) fprintf (stderr, "host %s is not responding\n", host[0].hostname);42 if (VerboseMode()) gprint (GP_ERR, "host %s is not responding\n", host[0].hostname); 43 43 return (FALSE); 44 44 45 45 case 0: 46 if (VerboseMode()) fprintf (stderr, "host %s is down\n", host[0].hostname);46 if (VerboseMode()) gprint (GP_ERR, "host %s is down\n", host[0].hostname); 47 47 return (FALSE); 48 48 49 49 default: 50 if (VerboseMode()) fprintf (stderr, "message received (GetJobOutput : %s)\n", cmd);50 if (VerboseMode()) gprint (GP_ERR, "message received (GetJobOutput : %s)\n", cmd); 51 51 /* drop extra bytes from pclient (not pclient:job) */ 52 52 buffer[0].Nbuffer = Nstart + Nbytes; … … 57 57 } 58 58 59 fprintf (stderr, "programming error: should not reach here (GetJobOutput)\n");59 gprint (GP_ERR, "programming error: should not reach here (GetJobOutput)\n"); 60 60 exit (1); 61 61 }
Note:
See TracChangeset
for help on using the changeset viewer.
