dovecot-2.2: lib: And another module_dir_load() bugfix..
dovecot at dovecot.org
dovecot at dovecot.org
Mon Mar 9 15:36:56 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/4d19d56e09fb
changeset: 18315:4d19d56e09fb
user: Timo Sirainen <tss at iki.fi>
date: Mon Mar 09 17:36:11 2015 +0200
description:
lib: And another module_dir_load() bugfix..
diffstat:
src/lib/module-dir.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r d978da323d44 -r 4d19d56e09fb src/lib/module-dir.c
--- a/src/lib/module-dir.c Mon Mar 09 17:15:03 2015 +0200
+++ b/src/lib/module-dir.c Mon Mar 09 17:36:11 2015 +0200
@@ -460,7 +460,7 @@
else {
path = t_strconcat(dir, "/", name, NULL);
ret = module_load(path, stripped_name, set, modules, &module, &error);
- if (ret == 0)
+ if (ret >= 0)
;
else if (module_names != NULL) {
*error_r = i_strdup_printf("Couldn't load required plugin %s: %s",
More information about the dovecot-cvs
mailing list