IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 20, 2009, 5:57:10 PM (17 years ago)
Author:
eugene
Message:

check for NULL rules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/detrend/pmDark.c

    r24819 r24869  
    978978              // a NULL rule means 'use the name as the single concept'
    979979              const char *rule = psMetadataLookupStr(&mdok, row, PM_DARK_FITS_RULE);
    980               if (!strcasecmp(rule, "NONE")) {
     980              if (!rule || !strcasecmp(rule, "NONE")) {
    981981                  ord->rule = NULL;
    982982              } else {
Note: See TracChangeset for help on using the changeset viewer.