diff --git a/processor/hashtable.m4 b/processor/hashtable.m4 index 759d770..a3c87f3 100644 --- a/processor/hashtable.m4 +++ b/processor/hashtable.m4 @@ -100,8 +100,8 @@ define(`DEF_HASH_TABLE_FUNC', ` continue; } popdef(`BUCKET') - ') - + ') + IFCALCCOPY(`bucketsize = BUCKET_SIZE(b);') ALLOC(pnew, char, bucketsize, , Bucket) IFCOPY(`memcpy(pnew, b, bucketsize);')