dovecot-2.2: lib-dict: Previous API change broke dict_init()
dovecot at dovecot.org
dovecot at dovecot.org
Sun Sep 16 16:02:59 EEST 2012
details: http://hg.dovecot.org/dovecot-2.2/rev/009d19d5f0f1
changeset: 15075:009d19d5f0f1
user: Stephan Bosch <stephan at rename-it.nl>
date: Sun Sep 16 16:02:11 2012 +0300
description:
lib-dict: Previous API change broke dict_init()
diffstat:
src/lib-dict/dict-file.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 00df9f4192ad -r 009d19d5f0f1 src/lib-dict/dict-file.c
--- a/src/lib-dict/dict-file.c Sun Sep 16 15:40:10 2012 +0300
+++ b/src/lib-dict/dict-file.c Sun Sep 16 16:02:11 2012 +0300
@@ -81,7 +81,7 @@
hash_table_create(&dict->hash, dict->hash_pool, 0, str_hash, strcmp);
dict->fd = -1;
*dict_r = &dict->dict;
- return -1;
+ return 0;
}
static void file_dict_deinit(struct dict *_dict)
More information about the dovecot-cvs
mailing list