Changeset 29540 for trunk/Ohana/src/opihi/pcontrol/JobOps.c
- Timestamp:
- Oct 25, 2010, 12:50:29 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pcontrol/JobOps.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pcontrol/JobOps.c
r28242 r29540 195 195 } 196 196 197 IDtype AddJob (char *hostname, JobMode mode, int timeout, int argc, char **argv ) {197 IDtype AddJob (char *hostname, JobMode mode, int timeout, int argc, char **argv, int Nxhosts, char **xhosts) { 198 198 199 199 int JobID; … … 228 228 job[0].host = NULL; 229 229 230 job[0].xhosts = xhosts; 231 job[0].Nxhosts = Nxhosts; 232 230 233 JobID = job[0].JobID; 231 234 … … 257 260 FREE (job[0].argv); 258 261 262 for (i = 0; i < job[0].Nxhosts; i++) { 263 FREE (job[0].xhosts[i]); 264 } 265 FREE (job[0].xhosts); 266 259 267 FreeIOBuffer (&job[0].stdout_buf.buffer); 260 268 FreeIOBuffer (&job[0].stderr_buf.buffer);
Note:
See TracChangeset
for help on using the changeset viewer.
