Changeset 27137 for trunk/psModules/src/config/pmConfigDump.c
- Timestamp:
- Mar 2, 2010, 11:34:39 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/config/pmConfigDump.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/config/pmConfigDump.c
r27057 r27137 55 55 56 56 if (!configCull(config->recipes, keep)) { 57 psError( PS_ERR_UNKNOWN, false, "Unable to cull system recipes.");57 psError(psErrorCodeLast(), false, "Unable to cull system recipes."); 58 58 psFree(keep); 59 59 return false; … … 64 64 psMetadata *cameras = psMetadataLookupMetadata(NULL, config->system, "CAMERAS"); // Known cameras 65 65 if (!cameras) { 66 psError(P S_ERR_UNEXPECTED_NULL, false, "Unable to find CAMERAS in the system configuration.\n");66 psError(PM_ERR_CONFIG, false, "Unable to find CAMERAS in the system configuration.\n"); 67 67 return false; 68 68 } … … 80 80 } 81 81 if (!configCull(recipes, keep)) { 82 psError( PS_ERR_UNKNOWN, false, "Unable to cull recipes for camera %s", item->name);82 psError(psErrorCodeLast(), false, "Unable to cull recipes for camera %s", item->name); 83 83 psFree(iter); 84 84 psFree(keep); … … 98 98 psMetadata *cameras = psMetadataLookupMetadata(NULL, config->system, "CAMERAS"); // Known cameras 99 99 if (!cameras) { 100 psError(P S_ERR_UNEXPECTED_NULL, false, "Unable to find CAMERAS in the system configuration.\n");100 psError(PM_ERR_CONFIG, false, "Unable to find CAMERAS in the system configuration.\n"); 101 101 return NULL; 102 102 }
Note:
See TracChangeset
for help on using the changeset viewer.
