Code

Collectd.pm: Fixed the check for complete function names in plugin_register.
authorSebastian Harl <sh@tokkee.org>
Sun, 20 Apr 2008 21:21:50 +0000 (23:21 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Wed, 30 Apr 2008 08:37:14 +0000 (10:37 +0200)
commita32caa9956625a5f27cc9a864caf050ade0b4ca9
tree2ef178894d74fecfa2eb0d0b3e0b514aa4c32ffe
parent9d5a7847b03d78a94b6a0b153abeb630b4b94ddd
Collectd.pm: Fixed the check for complete function names in plugin_register.

plugin_register() checks if the registered function includes the plugin's
package name. Up to now, this check would also have succeeded if the
function name itself would be prepended by the package name. Now, the
check looks for the separator "::".

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
bindings/perl/Collectd.pm