OSSP CVS Repository

ossp - Difference in ossp-pkg/xds/register.c versions 1.6 and 1.6.2.1
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/xds/register.c 1.6 -> 1.6.2.1

--- register.c   2001/07/09 17:23:38     1.6
+++ register.c   2001/08/01 09:55:58     1.6.2.1
@@ -37,11 +37,9 @@
 
     /* Sanity checks. */
 
-    assert(xds != NULL);
-    assert(name != NULL);
-    assert(engine != NULL);
-    if (xds == NULL || name == NULL || engine == NULL)
-        return XDS_ERR_INVALID_ARG;
+    xds_check_parameter(xds != NULL);
+    xds_check_parameter(name != NULL);
+    xds_check_parameter(engine != NULL);
     for(pos = 0; name[pos] != '\0'; ++pos)
         {
         if (!isalnum(name[pos]) && name[pos] != '-' && name[pos] != '_')

CVSTrac 2.0.1