IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 25, 2010, 12:50:29 PM (16 years ago)
Author:
eugene
Message:

merge changes from eam_branches/ipp-20100823

File:
1 edited

Legend:

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

    r28242 r29540  
    195195}
    196196
    197 IDtype AddJob (char *hostname, JobMode mode, int timeout, int argc, char **argv) {
     197IDtype AddJob (char *hostname, JobMode mode, int timeout, int argc, char **argv, int Nxhosts, char **xhosts) {
    198198
    199199  int JobID;
     
    228228  job[0].host     = NULL;
    229229
     230  job[0].xhosts = xhosts;
     231  job[0].Nxhosts = Nxhosts;
     232
    230233  JobID = job[0].JobID;
    231234
     
    257260  FREE (job[0].argv);
    258261
     262  for (i = 0; i < job[0].Nxhosts; i++) {
     263    FREE (job[0].xhosts[i]);
     264  }
     265  FREE (job[0].xhosts);
     266
    259267  FreeIOBuffer (&job[0].stdout_buf.buffer);
    260268  FreeIOBuffer (&job[0].stderr_buf.buffer);
Note: See TracChangeset for help on using the changeset viewer.