Changeset 15469 for trunk/psModules/src/config/pmConfig.c
- Timestamp:
- Nov 6, 2007, 10:18:34 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/config/pmConfig.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/config/pmConfig.c
r15446 r15469 510 510 511 511 // Set trace destinations 512 #ifndef PS_NO_TRACE513 512 argNum = psArgumentGet(*argc, argv, "-tracedest"); 514 513 if (argNum > 0) { … … 531 530 psWarning("Unable to set log destination to file %d\n", config->traceFD); 532 531 } 533 #endif534 532 535 533 // Allow command line options to override defaults for logging. … … 661 659 if (!cameraReadFormats(item->data.md, item->name)) { 662 660 psWarning("Unable to read formats for camera %s: removed.\n", item->name); 663 psErrorStackPrint(stderr, "errors from read failure\n");664 psErrorClear();661 psErrorStackPrint(stderr, "errors from read failure\n"); 662 psErrorClear(); 665 663 psMetadataRemoveKey(cameras, item->name); 666 continue;664 continue; 667 665 } 668 666 if (!cameraReadCalibrations(item->data.md, item->name)) { 669 667 psWarning("Unable to read calibrations for camera %s: removed.\n", item->name); 670 psErrorStackPrint(stderr, "errors from read failure\n");671 psErrorClear();668 psErrorStackPrint(stderr, "errors from read failure\n"); 669 psErrorClear(); 672 670 psMetadataRemoveKey(cameras, item->name); 673 continue;671 continue; 674 672 } 675 673 }
Note:
See TracChangeset
for help on using the changeset viewer.
