OSSP CVS Repository

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

ossp-pkg/xds/vencode.c 1.12 -> 1.12.2.1

--- vencode.c    2001/07/31 06:33:55     1.12
+++ vencode.c    2001/08/01 09:55:58     1.12.2.1
@@ -41,11 +41,9 @@
 
     /* Sanity checks. */
 
-    assert(xds != NULL);
-    assert(fmt_arg != NULL);
-    assert(xds->mode == XDS_ENCODE);
-    if (xds == NULL || fmt_arg == NULL)
-        return XDS_ERR_INVALID_ARG;
+    xds_check_parameter(xds != NULL);
+    xds_check_parameter(fmt_arg != NULL);
+    xds_check_parameter(xds->mode == XDS_ENCODE);
     if (xds->mode != XDS_ENCODE)
         return XDS_ERR_INVALID_MODE;
 

CVSTrac 2.0.1