IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8837


Ignore:
Timestamp:
Sep 18, 2006, 5:45:24 PM (20 years ago)
Author:
Paul Price
Message:

Supporting NULL strings for empty strings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/types/psMetadataConfig.c

    r8836 r8837  
    1010*  @author Eric Van Alst, MHPCC
    1111*
    12 *  @version $Revision: 1.89 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2006-09-19 03:32:10 $
     12*  @version $Revision: 1.90 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2006-09-19 03:45:24 $
    1414*
    1515*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    13721372        break;
    13731373    case PS_DATA_STRING:
    1374         if (item->data.str) {
     1374        if (item->data.str && strlen(item->data.str) > 0) {
    13751375            psStringAppend(&content, "%-15s  %-8s  %-15s",
    13761376                           item->name, "STR", item->data.str);
Note: See TracChangeset for help on using the changeset viewer.