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". */
|
|