diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-04-11 01:27:33 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-04-11 01:27:33 +0000 |
commit | 1c8f9b319b6cd94c1c00731349c9dda6ec723979 (patch) | |
tree | 77824ef42694a7c963b8e11e3f57bbcbb6adf013 /src/or/test.c | |
parent | 197745f28582a7f6d752f8636ba78d5cb6f54a12 (diff) | |
download | tor-1c8f9b319b6cd94c1c00731349c9dda6ec723979.tar.gz tor-1c8f9b319b6cd94c1c00731349c9dda6ec723979.zip |
r12344@catbus: nickm | 2007-04-10 21:27:25 -0400
Fix documentation and usage of 2nd argument to mp_pool_new.
svn:r9942
Diffstat (limited to 'src/or/test.c')
-rw-r--r-- | src/or/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/test.c b/src/or/test.c index 9b427cfa76..68fb97e44c 100644 --- a/src/or/test.c +++ b/src/or/test.c @@ -2119,7 +2119,7 @@ test_mempool(void) test_assert(pool->item_alloc_size >= sizeof(void*)+1); mp_pool_destroy(pool); - pool = mp_pool_new(241, 10); + pool = mp_pool_new(241, 2500); test_assert(pool->new_chunk_capacity >= 10); test_assert(pool->item_alloc_size >= sizeof(void*)+241); test_eq(pool->item_alloc_size & 0x03, 0); |