Changeset 23283
- Timestamp:
- Mar 11, 2009, 4:34:43 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/config/pmConfigDump.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/config/pmConfigDump.c
r23280 r23283 59 59 return false; 60 60 } 61 psFree(keep); 61 62 62 63 // Need to cull recipes from all cameras as well 64 keep = psArrayAllocEmpty(1); 63 65 psMetadata *cameras = psMetadataLookupMetadata(NULL, config->system, "CAMERAS"); // Known cameras 64 66 if (!cameras) { … … 77 79 continue; 78 80 } 79 if (!configCull(recipes, keep)) {81 if (!configCull(recipes, NULL)) { 80 82 psError(PS_ERR_UNKNOWN, false, "Unable to cull recipes for camera %s", item->name); 81 83 psFree(iter); 82 psFree(keep);83 84 return false; 84 85 } 85 86 } 86 87 psFree(iter); 87 88 psFree(keep);89 88 90 89 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
