This fixes a bug in check_ldap that causes a segmentation fault when used
with the -C or -W options. With compiler warnings this would be identified
as:
```
check_ldap.c:260:4: warning: implicit declaration of function ‘sperfdata’
[-Wimplicit-function-declaration]
sperfdata ("entries", (double)num_entries, "",
^
```
You can view, comment on, or merge this pull request online at:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1426
-- Commit Summary --
* Add missing function declaration for sperfdata
-- File Changes --
M plugins/utils.h (10)
-- Patch Links --
https://github.com/monitoring-plugins/monitoring-plugins/pull/1426.patch
https://github.com/monitoring-plugins/monitoring-plugins/pull/1426.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1426