IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 9, 2005, 11:17:45 AM (21 years ago)
Author:
desonia
Message:

fixed minor bugs (Bug #307, etc.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/dataIO/psFits.c

    r4191 r4193  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.33 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-06-09 19:40:51 $
     9 *  @version $Revision: 1.34 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-06-09 21:17:45 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    15201520    }
    15211521
    1522     psBool mStatus = false;
    1523     char* extname = psMetadataLookupPtr(&mStatus, header, "EXTNAME");
    1524     if ( ! mStatus) {
    1525         extname = psMetadataLookupPtr(&mStatus, header, "HDUNAME");
    1526         if (! mStatus) {
    1527             extname = NULL;
     1522    char* extname = NULL;
     1523    if (header != NULL) {
     1524        extname = psMetadataLookupPtr(NULL, header, "EXTNAME");
     1525        if ( extname == NULL) {
     1526            extname = psMetadataLookupPtr(NULL, header, "HDUNAME");
    15281527        }
    15291528    }
Note: See TracChangeset for help on using the changeset viewer.