Changeset 26880
- Timestamp:
- Feb 10, 2010, 4:26:01 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20091201/ppSub/src/ppSubCamera.c
r26803 r26880 35 35 *success = false; 36 36 37 // look for the file on the RUN metadata 38 pmFPAfile *file = pmFPAfileDefineFromRun(&status, bind, config, filerule); // File to return 37 pmFPAfile *file = NULL; 38 39 // look for the file on the argument list 40 if (bind) { 41 file = pmFPAfileBindFromArgs(&status, bind, config, filerule, argname); 42 } else { 43 file = pmFPAfileDefineFromArgs(&status, config, filerule, argname); 44 } 45 39 46 if (!status) { 40 47 psError(PS_ERR_UNKNOWN, false, "Failed to load file definition for %s", filerule); 41 return NULL;48 return false; 42 49 } 43 50 if (!file) { 44 // look for the file on the argument list 45 if (bind) { 46 file = pmFPAfileBindFromArgs(&status, bind, config, filerule, argname); 47 } else { 48 file = pmFPAfileDefineFromArgs(&status, config, filerule, argname); 49 } 51 // look for the file on the RUN metadata 52 file = pmFPAfileDefineFromRun(&status, bind, config, filerule); // File to return 50 53 if (!status) { 51 54 psError(PS_ERR_UNKNOWN, false, "Failed to load file definition for %s", filerule); … … 345 348 346 349 // Output subtraction kernel 347 pmFPAfile *kernel = defineCalcFile(config, output, "PPSUB.OUTPUT.KERNELS", PM_FPA_FILE_SUBKERNEL);350 pmFPAfile *kernel = defineCalcFile(config, NULL, "PPSUB.OUTPUT.KERNELS", PM_FPA_FILE_SUBKERNEL); 348 351 if (!kernel) { 349 352 psError(PS_ERR_UNEXPECTED_NULL, false, "Unable to define file PPSUB.OUTPUT.KERNELS");
Note:
See TracChangeset
for help on using the changeset viewer.
