changeset 12490:16dbbb57a4b2

lib-master: Try to use auth request ID numbers from wider range to ease debugging.
author Timo Sirainen <tss@iki.fi>
date Thu, 02 Dec 2010 21:42:18 +0000
parents 627aeadb0955
children 6c9bc37fcf41
files src/lib-master/master-login-auth.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }