IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 21, 2006, 2:50:44 PM (20 years ago)
Author:
jhoblitt
Message:

change defineByQueryMode() to use det_type in it's "query"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/dettool.c

    r8849 r8874  
    380380    {
    381381        bool status = false;
     382        // include det_type in the query
     383        if (!psMetadataAddStr(where, PS_LIST_TAIL, "det_type", 0, "==", det_type)) {
     384            psError(PS_ERR_UNKNOWN, false, "failed to add item det_type");
     385            psFree(where);
     386            return false;
     387        }
     388
    382389        psString exp_type = psMetadataLookupStr(&status, config->args, "-exp_type");        if (!status) {
    383390            psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -exp_type");
Note: See TracChangeset for help on using the changeset viewer.