summaryrefslogtreecommitdiff
path: root/src/lib/shm_rbuff_pthr.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2020-02-13 19:42:06 +0100
committerSander Vrijders <sander@ouroboros.rocks>2020-02-16 18:25:17 +0100
commitf78ab5787773fbda3be5581a3b48f43ec7acd9d3 (patch)
tree9976cf6fbdf5383c04551874001f21f660f4e732 /src/lib/shm_rbuff_pthr.c
parent961e3da364797eee9d84902cce509baf2f6f9d2d (diff)
downloadouroboros-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/shm_rbuff_pthr.c')
0 files changed, 0 insertions, 0 deletions