OSSP CVS Repository

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

ossp-pkg/act/act_hash_lh.c 1.3 -> 1.4

--- act_hash_lh.c        2000/08/18 15:58:09     1.3
+++ act_hash_lh.c        2000/08/19 10:25:50     1.4
@@ -87,7 +87,7 @@
     act_hash_lh_t *h;
 
     /* allocate hash structure */
-    if ((h = (act_hash_lh_t *)act_mem_alloc_ctx(ctx, sizeof(struct act_hash_lh_st))) == NULL)
+    if ((h = (act_hash_lh_t *)act_mem_alloc_ctx(ctx, sizeof(act_hash_lh_t))) == NULL)
         return NULL;
     h->h_ctx = ctx;
 
@@ -404,7 +404,7 @@
     elements = 0;
 
     /* add bytes for top-level structure and directory */
-    bytes += sizeof(struct act_hash_lh_st);
+    bytes += sizeof(act_hash_lh_t);
     bytes += h->h_dirsize * sizeof(segment_t *);
 
     /* add size for segments */

CVSTrac 2.0.1