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_macros.c

    r4451 r4684  
    66
    77  int i, N, NLINES, done, depth, ThisList;
    8   char *taskname, *input;
     8  char *input;
    99  Macro *macro;
    1010  Task *task;
     
    2222  }
    2323
    24   taskname = GetCurrentTask ();
    25   if (taskname == NULL) {
     24  task = GetNewTask ();
     25  if (task == NULL) {
    2626    fprintf (stderr, "ERROR: not defining or running a task\n");
    27     return (FALSE);
    28   }
    29   task = FindTask (taskname);
    30   if (task == NULL) {
    31     fprintf (stderr, "ERROR: current task not found??\n");
    3227    return (FALSE);
    3328  }
Note: See TracChangeset for help on using the changeset viewer.