lib: make map_contains recongize null value
There are no commits yet
Push commits to the source branch or add previously merged commits to review them.
Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.
Without changing the interface, map_contains is able to tell whether the item exist in map or not.
More about the intension: module stats
use map internally, metric with zero value is not being able to retrieve by stats_get
since map_contains
checks the return value against NULL
.
Push commits to the source branch or add previously merged commits to review them.