Changeset 7411
- Timestamp:
- Jun 7, 2006, 12:56:40 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/concepts/pmConceptsStandard.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/concepts/pmConceptsStandard.c
r7319 r7411 334 334 psMetadata *formats = psMetadataLookupMD(&mdok, cameraFormat, "FORMATS"); 335 335 if (!mdok || !formats) { 336 psError(PS_ERR_UNKNOWN, false, "Unable to find FORMATS in camera configuration.\n");336 psError(PS_ERR_UNKNOWN, true, "Unable to find FORMATS in camera configuration.\n"); 337 337 return NULL; 338 338 } 339 339 340 340 psString timeFormat = psMetadataLookupStr(&mdok, formats, "CELL.TIME"); 341 if (!mdok || !timeFormat || !strlen(timeFormat)) {342 psError(PS_ERR_UNKNOWN, false, "Unable to find CELL.TIME in FORMATS.\n");341 if (!mdok || strlen(timeFormat) == 0) { 342 psError(PS_ERR_UNKNOWN, true, "Unable to find CELL.TIME in FORMATS.\n"); 343 343 return NULL; 344 344 } … … 371 371 usaTime = false; 372 372 } else { 373 ps LogMsg(__func__, PS_LOG_WARN, "Unrecognised FORMATS option for CELL.TIME: %s --- "374 "ignored.\n", timeFormat);373 psError(PS_ERR_UNKNOWN, true, "Unrecognised FORMATS option for CELL.TIME: %s --- " 374 "ignored.\n", timeFormat); 375 375 psFree(timeFormatsIter); 376 376 psFree(timeFormats);
Note:
See TracChangeset
for help on using the changeset viewer.
