dovecot-2.0: auth: Give a better error message to client when au...
dovecot at dovecot.org
dovecot at dovecot.org
Mon May 3 16:11:33 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/d8dd3149a98b
changeset: 11250:d8dd3149a98b
user: Timo Sirainen <tss at iki.fi>
date: Mon May 03 16:11:30 2010 +0300
description:
auth: Give a better error message to client when auth request timeouts.
diffstat:
src/auth/auth-request-handler.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 2a132661c029 -r d8dd3149a98b src/auth/auth-request-handler.c
--- a/src/auth/auth-request-handler.c Mon May 03 16:10:48 2010 +0300
+++ b/src/auth/auth-request-handler.c Mon May 03 16:11:30 2010 +0300
@@ -453,7 +453,8 @@
reply = auth_stream_reply_init(pool_datastack_create());
auth_stream_reply_add(reply, "FAIL", NULL);
auth_stream_reply_add(reply, NULL, dec2str(id));
- auth_stream_reply_add(reply, "reason", "Timeouted");
+ auth_stream_reply_add(reply, "reason",
+ "Authentication request timed out");
handler->callback(reply, handler->context);
return TRUE;
}
More information about the dovecot-cvs
mailing list