IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 4, 2005, 5:35:47 PM (21 years ago)
Author:
eugene
Message:

substantial dev work on scheduler/pcontrol/pclient

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pcontrol/CheckIdleHost.c

    r3211 r4450  
    1313    job = (Job *) stack[0].object[i];
    1414    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    }
    1619    if (strcasecmp (job[0].hostname, host[0].hostname)) continue;
    1720    LinkJobAndHost (job, host);
     
    2427    job = (Job *) stack[0].object[i];
    2528    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    }
    2733    if (strcasecmp (job[0].hostname, host[0].hostname)) continue;
    2834    LinkJobAndHost (job, host);
Note: See TracChangeset for help on using the changeset viewer.