IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23283


Ignore:
Timestamp:
Mar 11, 2009, 4:34:43 PM (17 years ago)
Author:
Paul Price
Message:

Cull all recipe overrides from cameras, since they've been placed in the system recipes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/config/pmConfigDump.c

    r23280 r23283  
    5959        return false;
    6060    }
     61    psFree(keep);
    6162
    6263    // Need to cull recipes from all cameras as well
     64    keep = psArrayAllocEmpty(1);
    6365    psMetadata *cameras = psMetadataLookupMetadata(NULL, config->system, "CAMERAS"); // Known cameras
    6466    if (!cameras) {
     
    7779            continue;
    7880        }
    79         if (!configCull(recipes, keep)) {
     81        if (!configCull(recipes, NULL)) {
    8082            psError(PS_ERR_UNKNOWN, false, "Unable to cull recipes for camera %s", item->name);
    8183            psFree(iter);
    82             psFree(keep);
    8384            return false;
    8485        }
    8586    }
    8687    psFree(iter);
    87 
    88     psFree(keep);
    8988
    9089    return true;
Note: See TracChangeset for help on using the changeset viewer.