Mercurial > dovecot > core-2.2
changeset 8608:63ec83d811bb HEAD
quota: Log a bit more when "Unknown backend" error happens.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 09 Jan 2009 13:57:30 -0500 |
parents | 04816f18bf18 |
children | 26516ae3b687 |
files | src/plugins/quota/quota.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins/quota/quota.c Fri Jan 09 13:14:04 2009 -0500 +++ b/src/plugins/quota/quota.c Fri Jan 09 13:57:30 2009 -0500 @@ -99,8 +99,10 @@ } backend = quota_backend_find(backend_name); - if (backend == NULL) - i_fatal("Unknown quota backend: %s", backend_name); + if (backend == NULL) { + i_error("Unknown quota backend: %s", backend_name); + return NULL; + } root_set = p_new(quota_set->pool, struct quota_root_settings, 1); root_set->set = quota_set;