IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7905


Ignore:
Timestamp:
Jul 14, 2006, 10:06:43 AM (20 years ago)
Author:
Paul Price
Message:

Adding error message and changing return type for psStringSubstitute
in the case where the input string is not a psAlloc-ed string.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psString.c

    r7901 r7905  
    1313 *  @author David Robbins, MHPCC
    1414 *
    15  *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
    16  *  @date $Date: 2006-07-14 02:26:25 $
     15 *  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
     16 *  @date $Date: 2006-07-14 20:06:43 $
    1717 *
    1818 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    255255    }
    256256    if (!psMemCheckString(input)) {
    257         return input;
     257        psError(PS_ERR_BAD_PARAMETER_TYPE, true, "This function requires a psString as input.\n");
     258        return NULL;
    258259    }
    259260
Note: See TracChangeset for help on using the changeset viewer.