OSSP CVS Repository

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

ossp-pkg/xds/register.c 1.3 -> 1.4

--- register.c   2001/07/08 15:26:22     1.3
+++ register.c   2001/07/08 15:28:51     1.4
@@ -63,8 +63,11 @@
         }
     else
         {                       /* insert new entry */
-        int rc = xds_set_capacity((void**)&xds->engines, &xds->engines_capacity,
-                                  xds->engines_len + 1, sizeof(engine_map_t), 32);
+        int rc = xds_set_capacity((void**)&xds->engines,
+                                  &xds->engines_capacity,
+                                  xds->engines_len + 1,
+                                  sizeof(engine_map_t),
+                                  XDS_INITIAL_ENGINES_CAPACITY);
         assert(rc == XDS_OK || rc == XDS_ERR_NO_MEM);
         if (rc != XDS_OK)
             return rc;

CVSTrac 2.0.1