dovecot-2.0: lib-dict: If connect() to dict socket fails, log an...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Oct 6 18:17:12 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/c61cc8fd42ef
changeset: 12247:c61cc8fd42ef
user: Timo Sirainen <tss at iki.fi>
date: Wed Oct 06 16:17:08 2010 +0100
description:
lib-dict: If connect() to dict socket fails, log an error, but don't die.
diffstat:
src/lib-dict/dict-client.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (16 lines):
diff -r 93fe557c0f7b -r c61cc8fd42ef src/lib-dict/dict-client.c
--- a/src/lib-dict/dict-client.c Wed Oct 06 15:54:14 2010 +0100
+++ b/src/lib-dict/dict-client.c Wed Oct 06 16:17:08 2010 +0100
@@ -410,10 +410,10 @@
if (dict->fd == -1) {
dict->last_failed_connect = ioloop_time;
if (errno == EACCES) {
- i_fatal("%s", eacces_error_get("net_connect_unix",
+ i_error("%s", eacces_error_get("net_connect_unix",
dict->path));
} else {
- i_fatal("net_connect_unix(%s) failed: %m",
+ i_error("net_connect_unix(%s) failed: %m",
dict->path);
}
return -1;
More information about the dovecot-cvs
mailing list