Index: trunk/psLib/src/sys/psString.c
===================================================================
--- trunk/psLib/src/sys/psString.c	(revision 7901)
+++ trunk/psLib/src/sys/psString.c	(revision 7905)
@@ -13,6 +13,6 @@
  *  @author David Robbins, MHPCC
  *
- *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-07-14 02:26:25 $
+ *  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-07-14 20:06:43 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -255,5 +255,6 @@
     }
     if (!psMemCheckString(input)) {
-        return input;
+        psError(PS_ERR_BAD_PARAMETER_TYPE, true, "This function requires a psString as input.\n");
+        return NULL;
     }
 
