author | Sebastian Harl <sh@tokkee.org> | |
Sun, 20 Apr 2008 21:21:50 +0000 (23:21 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Wed, 30 Apr 2008 08:37:14 +0000 (10:37 +0200) | ||
commit | a32caa9956625a5f27cc9a864caf050ade0b4ca9 | |
tree | 2ef178894d74fecfa2eb0d0b3e0b514aa4c32ffe | tree | snapshot |
parent | 9d5a7847b03d78a94b6a0b153abeb630b4b94ddd | commit | diff |
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>
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 | diff | blob | history |