summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/dht.c
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-09-23 12:27:23 +0200
committerdimitri staessens <dimitri.staessens@ugent.be>2017-09-23 12:32:07 +0200
commit7ee95a3809aab3152837ceb5ffcd001ee9e83fde (patch)
tree506d539e05267f1e15d89da3f0a930e92dd879b1 /src/ipcpd/normal/dht.c
parent17ab2b6d6bc95337d5fd54e058c0822260dbacf1 (diff)
downloadouroboros-7ee95a3809aab3152837ceb5ffcd001ee9e83fde.tar.gz
ouroboros-7ee95a3809aab3152837ceb5ffcd001ee9e83fde.zip
lib: Clean up bitmap implementation
There was a return -1 in the allocate call which is unsafe since -1 may be a valid id in the bitmap. Since it's a data structure for internal use, I replaced the NULL checks with assertions.
Diffstat (limited to 'src/ipcpd/normal/dht.c')
0 files changed, 0 insertions, 0 deletions