diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2020-02-13 19:42:06 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2020-02-16 18:25:17 +0100 |
commit | f78ab5787773fbda3be5581a3b48f43ec7acd9d3 (patch) | |
tree | 9976cf6fbdf5383c04551874001f21f660f4e732 /src/lib/utils.c | |
parent | 961e3da364797eee9d84902cce509baf2f6f9d2d (diff) | |
download | ouroboros-f78ab5787773fbda3be5581a3b48f43ec7acd9d3.tar.gz ouroboros-f78ab5787773fbda3be5581a3b48f43ec7acd9d3.zip |
lib: Fix shm_rbuff test
The rbuff_destroy function asserts that we do not try to destroy an
rbuff that still contains packets. The test now empties the rbuff
before destroying it.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/utils.c')
0 files changed, 0 insertions, 0 deletions