IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12619


Ignore:
Timestamp:
Mar 27, 2007, 5:55:01 PM (19 years ago)
Author:
Paul Price
Message:

Can't find values if there's no header read yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/concepts/pmConceptsRead.c

    r12521 r12619  
    8282            psWarning("Unable to parse concept %s, but concept not marked as required.\n", spec->blank->name);
    8383            psErrorClear();
    84             return true; // XXX return?
     84            return true; // XXX return?
    8585        }
    8686    }
     
    321321                if (keys->n == 1) {
    322322                    // Only one key --- proceed as usual
    323                     headerItem = psMetadataLookup(hduLow->header, keywords);
    324                     if (!headerItem && hduHigh != hduLow) {
     323                    if (hduLow->header) {
     324                        headerItem = psMetadataLookup(hduLow->header, keywords);
     325                    }
     326                    if (!headerItem && hduHigh != hduLow && hduHigh->header) {
    325327                        headerItem = psMetadataLookup(hduHigh->header, keywords);
    326328                    }
Note: See TracChangeset for help on using the changeset viewer.