Changeset 26518 for trunk/ppSub/src/ppSubCamera.c
- Timestamp:
- Jan 5, 2010, 11:30:15 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/src/ppSubCamera.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSubCamera.c
r24261 r26518 32 32 bool status; 33 33 34 // look for the file on the RUN metadata 35 pmFPAfile *file = pmFPAfileDefineFromRun(&status, bind, config, filerule); // File to return 34 pmFPAfile *file = NULL; 35 // look for the file on the argument list 36 if (bind) { 37 file = pmFPAfileBindFromArgs(&status, bind, config, filerule, argname); 38 } else { 39 file = pmFPAfileDefineFromArgs(&status, config, filerule, argname); 40 } 36 41 if (!status) { 37 42 psError(PS_ERR_UNKNOWN, false, "Failed to load file definition for %s", filerule); 38 return NULL; 39 } 40 if (!file) { 41 // look for the file on the argument list 42 if (bind) { 43 file = pmFPAfileBindFromArgs(&status, bind, config, filerule, argname); 44 } else { 45 file = pmFPAfileDefineFromArgs(&status, config, filerule, argname); 46 } 43 return false; 44 } 45 if (!file) { 46 // look for the file on the RUN metadata 47 file = pmFPAfileDefineFromRun(&status, bind, config, filerule); // File to return 47 48 if (!status) { 48 49 psError(PS_ERR_UNKNOWN, false, "Failed to load file definition for %s", filerule); 49 return false;50 return NULL; 50 51 } 51 52 }
Note:
See TracChangeset
for help on using the changeset viewer.
