IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7032


Ignore:
Timestamp:
May 1, 2006, 4:01:53 PM (20 years ago)
Author:
Paul Price
Message:

Supporting NULL for PS_DATA_STRING metadata items when printing the help messages.

File:
1 edited

Legend:

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

    r7021 r7032  
    77 *  @author David Robbins, MHPCC
    88 *
    9  *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2006-05-01 21:23:15 $
     9 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2006-05-02 02:01:53 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    381381            break;
    382382        case PS_DATA_STRING:
    383             printf("%s", (char*)(argItem->data.V));
     383            if (argItem->data.V) {
     384                printf("""%s""", (char*)(argItem->data.V));
     385            }
    384386            break;
    385387        default:
Note: See TracChangeset for help on using the changeset viewer.