diff options
Diffstat (limited to 'WWW/Library/Implementation/HTChunk.c')
-rw-r--r-- | WWW/Library/Implementation/HTChunk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/WWW/Library/Implementation/HTChunk.c b/WWW/Library/Implementation/HTChunk.c index 0149dfff..6b8c73f1 100644 --- a/WWW/Library/Implementation/HTChunk.c +++ b/WWW/Library/Implementation/HTChunk.c @@ -37,6 +37,8 @@ PUBLIC HTChunk * HTChunkCreate2 ARGS2 (int,grow, size_t, needed) if (needed > 0) { ch->allocated = needed-1 - ((needed-1) % ch->growby) + ch->growby; /* Round up */ + CTRACE((tfp, "HTChunkCreate2: requested %d, allocate %d\n", + needed, ch->allocated)); ch->data = (char *)calloc(1, ch->allocated); if (!ch->data) outofmem(__FILE__, "HTChunkCreate2 data"); |