dovecot-2.0: lib-master: Error logging fix for 64bit systems.

dovecot at dovecot.org dovecot at dovecot.org
Wed Jun 9 19:03:35 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/e85e6b1df82f
changeset: 11507:e85e6b1df82f
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Jun 09 17:03:20 2010 +0100
description:
lib-master: Error logging fix for 64bit systems.

diffstat:

 src/lib-master/master-auth.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 7385d8090890 -r e85e6b1df82f src/lib-master/master-auth.c
--- a/src/lib-master/master-auth.c	Wed Jun 09 16:39:12 2010 +0100
+++ b/src/lib-master/master-auth.c	Wed Jun 09 17:03:20 2010 +0100
@@ -146,7 +146,8 @@
 static void master_auth_connection_timeout(struct master_auth_connection *conn)
 {
 	i_error("master(%s): Auth request timed out (received %u/%u bytes)",
-		conn->auth->path, conn->buf_pos, sizeof(conn->buf));
+		conn->auth->path, conn->buf_pos,
+		(unsigned int)sizeof(conn->buf));
 	master_auth_connection_deinit(&conn);
 }
 


More information about the dovecot-cvs mailing list