diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-10-02 13:22:00 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-10-02 13:22:00 +0200 |
commit | 0e03a0421ee83892b1612f74f95c01c15b4aef19 (patch) | |
tree | 93b85d96dace1c6a8f4e272ee2484ff36a34cd51 /src/common/container.c | |
parent | 3b09322c9b388f68b26b891114affa869e84376c (diff) | |
download | tor-0e03a0421ee83892b1612f74f95c01c15b4aef19.tar.gz tor-0e03a0421ee83892b1612f74f95c01c15b4aef19.zip |
Fix check-spaces complaints
Diffstat (limited to 'src/common/container.c')
-rw-r--r-- | src/common/container.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/container.c b/src/common/container.c index df4952f634..c6f059170e 100644 --- a/src/common/container.c +++ b/src/common/container.c @@ -85,7 +85,8 @@ smartlist_ensure_capacity(smartlist_t *sl, int size) } sl->list = tor_reallocarray(sl->list, sizeof(void *), ((size_t)higher)); - memset(sl->list + sl->capacity, 0, sizeof(void *) * (higher - sl->capacity)); + memset(sl->list + sl->capacity, 0, + sizeof(void *) * (higher - sl->capacity)); sl->capacity = higher; } #undef ASSERT_CAPACITY |