diff options
author | Evan Huus <eapache@gmail.com> | 2013-07-27 21:56:43 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-07-27 21:56:43 +0000 |
commit | a076d6332e4b890248ee79fca592e380693a2c51 (patch) | |
tree | f6404cecce8f75369eb9f3fb524ac47da66bfdbf /epan/wmem/wmem_test.c | |
parent | b50424fad8afa7783e679d5e390aecea10fca024 (diff) | |
download | wireshark-a076d6332e4b890248ee79fca592e380693a2c51.tar.gz |
Use a #define, tweak a comment.
svn path=/trunk/; revision=50954
Diffstat (limited to 'epan/wmem/wmem_test.c')
-rw-r--r-- | epan/wmem/wmem_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/wmem/wmem_test.c b/epan/wmem/wmem_test.c index c4dec8bc98..c4a999a5af 100644 --- a/epan/wmem/wmem_test.c +++ b/epan/wmem/wmem_test.c @@ -263,8 +263,8 @@ wmem_test_allocator(wmem_allocator_type_t type, wmem_verify_func verify) ptrs[i] = NULL; } - /* Run ~64,000 iterations */ - for (i=0; i<1024*64; i++) { + /* Run enough iterations to fill the array 64 times */ + for (i=0; i<MAX_SIMULTANEOUS_ALLOCS*64; i++) { gint ptrs_index; gint new_size; |