OSSP CVS Repository

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

ossp-pkg/xds/vdecode.c 1.4 -> 1.4.2.1

--- vdecode.c    2001/07/24 15:46:18     1.4
+++ vdecode.c    2001/08/01 09:55:58     1.4.2.1
@@ -40,11 +40,9 @@
 
     /* Sanity checks. */
 
-    assert(xds != NULL);
-    assert(fmt_arg != NULL);
+    xds_check_parameter(xds != NULL);
+    xds_check_parameter(fmt_arg != NULL);
     assert(xds->mode == XDS_DECODE);
-    if (xds == NULL || fmt_arg == NULL)
-        return XDS_ERR_INVALID_ARG;
     if (xds->mode != XDS_DECODE)
         return XDS_ERR_INVALID_MODE;
 

CVSTrac 2.0.1