dovecot-2.0: lib-master: Try to use auth request ID numbers from...

dovecot at dovecot.org dovecot at dovecot.org
Thu Dec 2 23:42:45 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/16dbbb57a4b2
changeset: 12490:16dbbb57a4b2
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Dec 02 21:42:18 2010 +0000
description:
lib-master: Try to use auth request ID numbers from wider range to ease debugging.

diffstat:

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

diffs (11 lines):

diff -r 627aeadb0955 -r 16dbbb57a4b2 src/lib-master/master-login-auth.c
--- a/src/lib-master/master-login-auth.c	Thu Dec 02 19:10:23 2010 +0000
+++ b/src/lib-master/master-login-auth.c	Thu Dec 02 21:42:18 2010 +0000
@@ -72,6 +72,7 @@
 	auth->refcount = 1;
 	auth->fd = -1;
 	auth->requests = hash_table_create(default_pool, pool, 0, NULL, NULL);
+	auth->id_counter = (rand() % 32767) * 131072U;
 	return auth;
 }
 


More information about the dovecot-cvs mailing list