IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 9, 2004, 9:31:00 AM (22 years ago)
Author:
harman
Message:

Minor corrections from testing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astronomy/psMetadata.c

    r1407 r1416  
    1212*  @author Ross Harman, MHPCC
    1313*
    14 *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
    15 *  @date $Date: 2004-08-07 00:06:06 $
     14*  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
     15*  @date $Date: 2004-08-09 19:30:44 $
    1616*
    1717*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    347347    psMetadataItem *entryChild = NULL;
    348348
     349
     350    if (md == NULL) {
     351        psError(__func__, "Null metadata collection not allowed");
     352        return false;
     353    }
     354
    349355    mdList = md->list;
    350356    if (mdList == NULL) {
     
    364370        entry = (psMetadataItem *) psHashLookup(mdTable, key);
    365371        if (entry == NULL) {
    366             psError(__func__, "Couldn't find metadata item remove. Name: %s", key);
     372            psError(__func__, "Couldn't find metadata item. Name: %s", key);
    367373            return false;
    368374        }
     
    397403        entry = psListGet(mdList, where);
    398404        if (entry == NULL) {
    399             psError(__func__, "Couldn't find metadata item from list. Index: %d", where);
     405            psError(__func__, "Couldn't find metadata item in list. Index: %d", where);
    400406            return false;
    401407        }
Note: See TracChangeset for help on using the changeset viewer.