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/collections/tst_psMetadataIO.c

    r2681 r3107  
    1313*  @author  Ross Harman, MHPCC
    1414*
    15 *  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
    16 *  @date  $Date: 2004-12-10 02:50:15 $
     15*  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
     16*  @date  $Date: 2005-02-02 20:20:55 $
    1717*
    1818*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    4141    psMetadataItem *entryChild = NULL;
    4242
    43     psListIterator* iter = psListIteratorAlloc(metadataItemList, PS_LIST_HEAD);
     43    psListIterator* iter = psListIteratorAlloc(metadataItemList, PS_LIST_HEAD, true);
    4444
    45     while ( (entryChild=psListGetNext(iter)) != NULL) {
     45    while ( (entryChild=psListGetAndIncrement(iter)) != NULL) {
    4646        printMetadataItem(entryChild, spaces);
    4747    }
Note: See TracChangeset for help on using the changeset viewer.