IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 30, 2007, 12:14:51 PM (19 years ago)
Author:
eugene
Message:

enable job deletion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pantasks/kill.c

    r7917 r13542  
    1313
    1414  job = FindJob (JobID);
     15  if (job == NULL) {
     16    gprint (GP_LOG, "job not found\n");
     17    return (TRUE);
     18  }
    1519
    1620  if (job[0].mode == JOB_LOCAL) {
     
    2731    }
    2832  }   
    29    
    30   gprint (GP_ERR, "this function is not yet implemented\n");
     33  DeleteJob (job);
     34  gprint (GP_LOG, "job removed\n");
    3135  return (TRUE);
    3236}
Note: See TracChangeset for help on using the changeset viewer.