From 218dbd08e050c52bef00abd67b8a8296cbdabae9 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sat, 25 May 2013 10:32:23 +0200 Subject: [PATCH] src/plugin.c: Fix a comment regarding duplicate plugin_load() calls. --- src/plugin.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.11.0