IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 12, 2005, 9:34:34 AM (21 years ago)
Author:
eugene
Message:

pcontrol dev

File:
1 edited

Legend:

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

    r3187 r3203  
    33int job (int argc, char **argv) {
    44
    5   int pid, status;
     5  char *Host, **targv;
     6  int i, N, Mode, targc, Timeout;
     7  IDtype JobID;
    68
    79  Host = NULL;
     
    1618    if (Mode == PCONTROL_JOB_WANTHOST) {
    1719      fprintf (stderr, "ERROR: -host and +host are incompatible\n");
    18       free (Host);
     20      FREE (Host);
    1921      return (FALSE);
    2022    }
     
    3436  if (argc < 2) {
    3537    fprintf (stderr, "USAGE: job [options] (arg0) (arg1) ... (argN)\n");
     38    FREE (Host);
    3639    return (FALSE);
    3740  }
     
    4649  FREE (Host);
    4750
    48   fprintf (stdout, "STATUS %d\n", ChildPID);
     51  fprintf (stdout, "STATUS %d\n", JobID);
    4952  return (TRUE);
    5053
Note: See TracChangeset for help on using the changeset viewer.