OSSP CVS Repository

ossp - Difference in ossp-pkg/xds/find-engine.c versions 1.1 and 1.2
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/xds/find-engine.c 1.1 -> 1.2

--- find-engine.c        2001/07/08 14:10:32     1.1
+++ find-engine.c        2001/07/08 15:22:00     1.2
@@ -35,11 +35,9 @@
 
     /* Sanity checks. */
 
-    assert(engines != NULL);
+    assert(engines != NULL || last == 0);
     assert(name != NULL);
     assert(pos != NULL);
-    if (engines == NULL || name == NULL || pos == NULL)
-        return XDS_ERR_INVALID_ARG;
 
     /* Use binary search to find "name" in "engines". */
 

CVSTrac 2.0.1