From: Timo Sirainen Date: Thu, 2 Dec 2010 21:42:18 +0000 (+0000) Subject: lib-master: Try to use auth request ID numbers from wider range to ease debugging. X-Git-Tag: 2.0.8~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=65565b19bcee898d814189064e7fdd753732ccbc;p=thirdparty%2Fdovecot%2Fcore.git lib-master: Try to use auth request ID numbers from wider range to ease debugging. --- diff --git a/src/lib-master/master-login-auth.c b/src/lib-master/master-login-auth.c index c1c1f5ba12..adbc6cbca4 100644 --- a/src/lib-master/master-login-auth.c +++ b/src/lib-master/master-login-auth.c @@ -72,6 +72,7 @@ struct master_login_auth *master_login_auth_init(const char *auth_socket_path) 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; }