IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 16, 2008, 11:40:06 AM (18 years ago)
Author:
Paul Price
Message:

Catch NULL vector.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fits/psFitsTable.c

    r16825 r18144  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2008-03-05 03:26:59 $
     9 *  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2008-06-16 21:40:06 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    340340    case PS_DATA_VECTOR: {
    341341            psVector *vector = item->data.V;
    342             return vector->n;
     342            return vector ? vector->n : 0;
    343343        }
    344344    default:
Note: See TracChangeset for help on using the changeset viewer.