OSSP CVS Repository

ossp - Difference in ossp-pkg/xds/set-capacity.c versions 1.3 and 1.3.2.1
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/xds/set-capacity.c 1.3 -> 1.3.2.1

--- set-capacity.c       2001/07/16 18:26:58     1.3
+++ set-capacity.c       2001/08/01 09:55:58     1.3.2.1
@@ -36,10 +36,10 @@
 
     /* Sanity checks. */
 
-    assert(array != NULL);
-    assert(array_capacity != NULL);
-    assert(elem_size != 0);
-    assert(initial_capacity != 0);
+    xds_check_parameter(array != NULL);
+    xds_check_parameter(array_capacity != NULL);
+    xds_check_parameter(elem_size != 0);
+    xds_check_parameter(initial_capacity != 0);
 
     /* Do we need to re-allocate? */
 

CVSTrac 2.0.1