naemon / naemon-livestatus

Naemon - Livestatus Eventbroker Module
GNU General Public License v2.0
27 stars 30 forks source link

fix listing contacts twice (fixes #90) #91

Closed sni closed 3 years ago

sni commented 3 years ago

std::list->unique fails to compare contact_members properly, because each contact member instance has its own pointer. To fix this, we add a unique callback which compares the underlying contact pointer.

Signed-off-by: Sven Nierlein sven@nierlein.de