Index: trunk/psLib/src/astro/psTime.c
===================================================================
--- trunk/psLib/src/astro/psTime.c	(revision 1268)
+++ trunk/psLib/src/astro/psTime.c	(revision 1270)
@@ -12,6 +12,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-07-22 20:54:32 $
+ *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-07-22 20:56:40 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -278,4 +278,5 @@
     if(year < 1900) {
         psError(__func__,"Years less than 1900 not allowed. Value: %d", year);
+        return outTime;
     }
 
@@ -283,4 +284,5 @@
     if(month<1 || month>12) {
         psError(__func__,"Month must have a value from 0 to 11. Value: %d", month);
+        return outTime;
     }
 
@@ -288,4 +290,5 @@
     if(day<1 || day>31) {
         psError(__func__,"Day must have a value from 1 to 31. Value: %d", day);
+        return outTime;
     }
 
@@ -293,4 +296,5 @@
     if(hour<0 || hour>23) {
         psError(__func__,"Hour must have a value from 0 to 23. Value: %d", hour);
+        return outTime;
     }
 
@@ -298,4 +302,5 @@
     if(minute<0 || minute>59) {
         psError(__func__,"Minute must have a value from 0 to 59. Value: %d", minute);
+        return outTime;
     }
 
@@ -303,4 +308,5 @@
     if(second<0 || second>59) {
         psError(__func__,"Second must have a value from 0 to 59. Value: %d", second);
+        return outTime;
     }
 
@@ -308,4 +314,5 @@
     if(millisecond<0 || millisecond>1000) {
         psError(__func__,"Millisecond must have a value from 0 to 999. Value: %d", millisecond);
+        return outTime;
     }
 
