IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7233


Ignore:
Timestamp:
May 26, 2006, 4:00:23 PM (20 years ago)
Author:
Paul Price
Message:

Changed order of arguments for psFitsWriteHeader.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/fits/tst_psFits.c

    r7231 r7233  
    66*  @author Robert DeSonia, MHPCC
    77*
    8 *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
    9 *  @date $Date: 2006-05-27 01:53:03 $
     8*  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
     9*  @date $Date: 2006-05-27 02:00:23 $
    1010*
    1111*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    16471647    // so these additional tests check for error conditions
    16481648    // Attempt call function with NULL metadata
    1649     if(psFitsWriteHeader(NULL,fitsFile)) {
     1649    if(psFitsWriteHeader(fitsFile, NULL)) {
    16501650        psError(PS_ERR_UNKNOWN,true,"Did not expect return of true for NULL metadata pointer");
    16511651        return 2;
     
    16551655
    16561656    // Attempt to call function with NULL fits
    1657     if(psFitsWriteHeader(header,NULL)) {
     1657    if(psFitsWriteHeader(NULL, header)) {
    16581658        psError(PS_ERR_UNKNOWN,true,"Did not expect return of true for NULL fits file pointer");
    16591659        return 3;
Note: See TracChangeset for help on using the changeset viewer.