Index: trunk/psLib/src/db/psDB.c
===================================================================
--- trunk/psLib/src/db/psDB.c	(revision 17906)
+++ trunk/psLib/src/db/psDB.c	(revision 17907)
@@ -23,5 +23,5 @@
  * 4.1.2 or newer is required.
  *
- * $Id: psDB.c,v 1.162 2008-06-05 00:40:42 jhoblitt Exp $
+ * $Id: psDB.c,v 1.163 2008-06-05 00:48:19 jhoblitt Exp $
  */
 
@@ -1198,5 +1198,5 @@
                         return NULL;
                     }
-                } else if (psStrcasestr(data, "0000-00-00 00:00:00") == 0) {
+                } else if (psStrcasestr(data, "0000-00-00 00:00:00")) {
                     // look for 0000-00-00 00:00:00, which can't be parsed by
                     // psTimeStrptime as the month/day are bogus
