From: Timo Sirainen Date: Mon, 3 May 2010 13:11:30 +0000 (+0300) Subject: auth: Give a better error message to client when auth request timeouts. X-Git-Tag: 2.0.beta5~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cac6735a6cd73f2b815a1f3c1e21855075e7c81e;p=thirdparty%2Fdovecot%2Fcore.git auth: Give a better error message to client when auth request timeouts. --HG-- branch : HEAD --- diff --git a/src/auth/auth-request-handler.c b/src/auth/auth-request-handler.c index e590804b87..3d8396a508 100644 --- a/src/auth/auth-request-handler.c +++ b/src/auth/auth-request-handler.c @@ -453,7 +453,8 @@ bool auth_request_handler_auth_continue(struct auth_request_handler *handler, 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; }