Mercurial > dovecot > core-2.2
changeset 15075:009d19d5f0f1
lib-dict: Previous API change broke dict_init()
author | Stephan Bosch <stephan@rename-it.nl> |
---|---|
date | Sun, 16 Sep 2012 16:02:11 +0300 |
parents | 00df9f4192ad |
children | 7e1f0146169f |
files | src/lib-dict/dict-file.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)