From: Florian Forster Date: Sat, 25 May 2013 08:32:23 +0000 (+0200) Subject: src/plugin.c: Fix a comment regarding duplicate plugin_load() calls. X-Git-Tag: collectd-5.4.0~38 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=218dbd08e050c52bef00abd67b8a8296cbdabae9;p=collectd.git src/plugin.c: Fix a comment regarding duplicate plugin_load() calls. --- diff --git a/src/plugin.h b/src/plugin.h index 635ff308..8f0c6d86 100644 --- a/src/plugin.h +++ b/src/plugin.h @@ -223,7 +223,8 @@ void plugin_set_dir (const char *dir); * and a value below zero if an error occurs. * * NOTES - * No attempt is made to re-load an already loaded module. + * Re-loading an already loaded module is detected and zero is returned in + * this case. */ int plugin_load (const char *name, uint32_t flags);