Changeset 4450 for trunk/Ohana/src/opihi/pcontrol/CheckIdleHost.c
- Timestamp:
- Jul 4, 2005, 5:35:47 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pcontrol/CheckIdleHost.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pcontrol/CheckIdleHost.c
r3211 r4450 13 13 job = (Job *) stack[0].object[i]; 14 14 if (job[0].mode != PCONTROL_JOB_NEEDHOST) continue; 15 if (job[0].hostname == NULL) continue; 15 if (job[0].hostname == NULL) { 16 fprintf (stderr, "programming error: NEEDHOST hostname missing\n"); 17 exit (2); 18 } 16 19 if (strcasecmp (job[0].hostname, host[0].hostname)) continue; 17 20 LinkJobAndHost (job, host); … … 24 27 job = (Job *) stack[0].object[i]; 25 28 if (job[0].mode != PCONTROL_JOB_WANTHOST) continue; 26 if (job[0].hostname == NULL) continue; 29 if (job[0].hostname == NULL) { 30 fprintf (stderr, "programming error: WANTHOST hostname missing\n"); 31 exit (2); 32 } 27 33 if (strcasecmp (job[0].hostname, host[0].hostname)) continue; 28 34 LinkJobAndHost (job, host);
Note:
See TracChangeset
for help on using the changeset viewer.
