[monitoring-plugins/monitoring-plugins] Add missing function declaration for sperfdata (#1426)
jyoung15
notifications at github.com
Thu Aug 11 23:17:06 CEST 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20160811/1114f9e7/attachment.html>
More information about the Devel
mailing list