IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 31, 2005, 8:04:11 AM (21 years ago)
Author:
eugene
Message:

task/job list cleanup, fixing kill/delete

File:
1 edited

Legend:

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

    r4603 r4684  
    44
    55  Task *task;
    6   char *taskname;
    76
    87  if (argc != 2) goto usage;
    98
    10   taskname = GetCurrentTask ();
    11   if (taskname == NULL) {
     9  task = GetNewTask ();
     10  if (task == NULL) {
    1211    fprintf (stderr, "ERROR: not defining or running a task\n");
    13     return (FALSE);
    14   }
    15   task = FindTask (taskname);
    16   if (task == NULL) {
    17     fprintf (stderr, "ERROR: current task not found??\n");
    1812    return (FALSE);
    1913  }
Note: See TracChangeset for help on using the changeset viewer.