Changeset 2699 for trunk/psLib/src/collections/psList.c
- Timestamp:
- Dec 10, 2004, 3:24:15 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/collections/psList.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psList.c
r2698 r2699 6 6 * @author Robert Daniel DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.2 5$ $Name: not supported by cvs2svn $9 * @date $Date: 2004-12-11 01: 19:06$8 * @version $Revision: 1.26 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2004-12-11 01:24:14 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 257 257 } 258 258 259 if (location > = (int)list->size) {259 if (location > 0 && location >= (int)list->size) { 260 260 psLogMsg(__func__,PS_LOG_WARN, 261 261 "Specified location, %d, is beyond the end of the list. "
Note:
See TracChangeset
for help on using the changeset viewer.
