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

    r4602 r4684  
    66  Task *task;
    77  TimeRange range;
    8   char *taskname;
    98
    109  /* add a -reset option?
     
    2423  if (argc != 3) goto usage;
    2524
    26   taskname = GetCurrentTask ();
    27   if (taskname == NULL) {
     25  task = GetNewTask ();
     26  if (task == NULL) {
    2827    fprintf (stderr, "ERROR: not defining or running a task\n");
    29     return (FALSE);
    30   }
    31   task = FindTask (taskname);
    32   if (task == NULL) {
    33     fprintf (stderr, "ERROR: current task not found??\n");
    3428    return (FALSE);
    3529  }
Note: See TracChangeset for help on using the changeset viewer.