mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
i take back everything i've said about unit tests
svn:r2547
This commit is contained in:
parent
a1bf39f698
commit
e9e9a25881
@ -551,7 +551,7 @@ void smartlist_insert(smartlist_t *sl, int idx, void *val)
|
||||
{
|
||||
tor_assert(sl);
|
||||
tor_assert(idx>=0);
|
||||
tor_assert(idx < sl->num_used);
|
||||
tor_assert(idx <= sl->num_used);
|
||||
if (idx == sl->num_used) {
|
||||
smartlist_add(sl, val);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user