IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 2, 2005, 10:22:22 AM (21 years ago)
Author:
evanalst
Message:

Update changes to psList.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/astronomy/tst_psMetadata_01.c

    r2681 r3107  
    1818*  @author  Ross Harman, MHPCC
    1919*
    20 *  @version $Revision: 1.17 $  $Name: not supported by cvs2svn $
    21 *  @date  $Date: 2004-12-10 02:50:15 $
     20*  @version $Revision: 1.18 $  $Name: not supported by cvs2svn $
     21*  @date  $Date: 2005-02-02 20:20:55 $
    2222*
    2323*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    4646    psMetadataItem *entryChild = NULL;
    4747
    48     psListIterator* iter = psListIteratorAlloc(metadataItemList, PS_LIST_HEAD);
    49 
    50     while ( (entryChild=psListGetNext(iter)) != NULL) {
     48    psListIterator* iter = psListIteratorAlloc(metadataItemList, PS_LIST_HEAD, true);
     49
     50    while ( (entryChild=psListGetAndIncrement(iter)) != NULL) {
    5151        printMetadataItem(entryChild, spaces);
    5252    }
Note: See TracChangeset for help on using the changeset viewer.