]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-master: Try to use auth request ID numbers from wider range to ease debugging.
authorTimo Sirainen <tss@iki.fi>
Thu, 2 Dec 2010 21:42:18 +0000 (21:42 +0000)
committerTimo Sirainen <tss@iki.fi>
Thu, 2 Dec 2010 21:42:18 +0000 (21:42 +0000)
src/lib-master/master-login-auth.c

index c1c1f5ba12c9bb506005b553d581ae7c290bf685..adbc6cbca47ab2ee83e48563d296811942893a78 100644 (file)
@@ -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;
 }