diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-05-09 17:08:26 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-05-09 17:08:26 +0200 |
commit | c7edaf433fda0f87c8fd579f0e8243f798922c62 (patch) | |
tree | 4ce4749b7f1f77cb9adf78f5e19c4cc9fcece1a7 /src/lib/shm_du_map.c | |
parent | abc4f917ca6bfa1c79493a0940f5e88bc96bffb2 (diff) | |
parent | 9f401b25899c84e6d0636d848ba8bf8520e64d47 (diff) | |
download | ouroboros-c7edaf433fda0f87c8fd579f0e8243f798922c62.tar.gz ouroboros-c7edaf433fda0f87c8fd579f0e8243f798922c62.zip |
Merged in dstaesse/ouroboros/be-rm-shm-test (pull request #69)
lib/test: removed the test for the shm_du_map
Diffstat (limited to 'src/lib/shm_du_map.c')
-rw-r--r-- | src/lib/shm_du_map.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/shm_du_map.c b/src/lib/shm_du_map.c index 56062c9d..71c15731 100644 --- a/src/lib/shm_du_map.c +++ b/src/lib/shm_du_map.c @@ -328,9 +328,8 @@ int shm_release_du_buff(struct shm_du_map * dum, size_t idx) long blocks = 0; - /* FIXME: this is crap for the test */ if (idx > SHM_BLOCKS_IN_MAP) - idx = *dum->ptr_tail; + return -1; pthread_mutex_lock(dum->shm_mutex); |