[collectd] Small bug with handling boolean options in the apache plugin

Florian Forster octo at verplant.org
Thu Dec 31 11:09:11 CET 2009


Hey :)

On Thu, Dec 31, 2009 at 03:21:01AM +0200, plazmus wrote:
> When the plugin attempts to read the value of a boolean option,
> instead of using the pre-parsed int value, it misdetects the type of
> the option (seems a mechanical mistake) and tries to use the string
> pointer, which is actually NULL.
> I'm sending a patch, it's actually shorter than the description ;)

Thanks for catching this and thanks for the patch :) I've applied it to
the collectd-4.9 branch.

Regards,
-octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20091231/cb46b6b5/attachment.pgp 


More information about the collectd mailing list