Changeset 8296 for trunk/Ohana/src/opihi/pcontrol/job.c
- Timestamp:
- Aug 11, 2006, 4:51:50 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pcontrol/job.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pcontrol/job.c
r7917 r8296 6 6 int i, N, Mode, targc, Timeout; 7 7 IDtype JobID; 8 9 if (get_argument (argc, argv, "-host") && get_argument (argc, argv, "+host")) { 10 gprint (GP_ERR, "ERROR: -host and +host are incompatible\n"); 11 return (FALSE); 12 } 8 13 9 14 Host = NULL; … … 16 21 } 17 22 if ((N = get_argument (argc, argv, "+host"))) { 18 if (Mode == PCONTROL_JOB_WANTHOST) {19 gprint (GP_ERR, "ERROR: -host and +host are incompatible\n");20 FREE (Host);21 return (FALSE);22 }23 23 remove_argument (N, &argc, argv); 24 24 Host = strcreate (argv[N]);
Note:
See TracChangeset
for help on using the changeset viewer.
