Index: trunk/psLib/src/collections/psHash.c
===================================================================
--- trunk/psLib/src/collections/psHash.c	(revision 2273)
+++ trunk/psLib/src/collections/psHash.c	(revision 2621)
@@ -11,6 +11,6 @@
 *  @author George Gusciora, MHPCC
 *
-*  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-11-04 01:04:57 $
+*  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2004-12-04 00:04:33 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -332,5 +332,5 @@
 
 /******************************************************************************
-psHashInsert(table, key, data, itemFree): this procedure, which is part of
+psHashAdd(table, key, data): this procedure, which is part of
 the public API, inserts a new key/data pair into the hash table.
 Inputs:
@@ -338,5 +338,4 @@
     key: the key to use
     data: the data to insert.
-    itemFree: a function pointer
 Return:
     boolean value defining success or failure
@@ -348,15 +347,16 @@
     if (table == NULL) {
         psError(PS_ERR_BAD_PARAMETER_NULL, true,
+                PS_ERRORTEXT_psHash_TABLE_NULL);
+        return false;
+    }
+    if (key == NULL) {
+        psError(PS_ERR_BAD_PARAMETER_NULL, true,
                 PS_ERRORTEXT_psHash_KEY_NULL);
         return false;
     }
-    if (key == NULL) {
-        psError(PS_ERR_BAD_PARAMETER_NULL, true,
-                PS_ERRORTEXT_psHash_TABLE_NULL);
+    if (data == NULL) {
+        psError(PS_ERR_BAD_PARAMETER_NULL, true,
+                PS_ERRORTEXT_psHash_DATA_NULL);
         return false;
-    }
-    if (data == NULL) {
-        psError(PS_ERR_BAD_PARAMETER_NULL, true,
-                PS_ERRORTEXT_psHash_DATA_NULL);
     }
 
