IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 26, 2009, 9:41:29 AM (17 years ago)
Author:
eugene
Message:

remove deprecated pcontrol files; handle error in job submission on controller

File:
1 edited

Legend:

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

    r21379 r23554  
    202202  ALLOCATE (job, Job, 1);
    203203
     204  job[0].JobID    = NextJobID();
     205  if (job[0].JobID < 0) {
     206    free (job);
     207    return -1;
     208  }
     209
    204210  job[0].argc     = argc;
    205211  job[0].argv     = argv;
     
    220226  job[0].dtime = 0.0;
    221227  job[0].pid = 0;
    222 
    223   job[0].JobID    = NextJobID();
    224228  job[0].host     = NULL;
    225229
Note: See TracChangeset for help on using the changeset viewer.