changeset 8698:3aeb924bae35 HEAD

userdb prefetch + blocking passdbs was still broken with non-plaintext auth.
author Timo Sirainen <tss@iki.fi>
date Mon, 02 Feb 2009 12:12:15 -0500
parents c9ed3bf730b9
children 035037f388fa
files src/auth/auth-worker-client.c
diffstat 1 files changed, 0 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/src/auth/auth-worker-client.c	Sun Feb 01 22:24:56 2009 -0500
+++ b/src/auth/auth-worker-client.c	Mon Feb 02 12:12:15 2009 -0500
@@ -65,22 +65,6 @@
 	return auth_request;
 }
 
-static void
-add_userdb_replies(struct auth_stream_reply *reply,
-		   struct auth_stream_reply *userdb_reply)
-{
-	const char *const *tmp;
-
-	tmp = auth_stream_split(userdb_reply);
-	i_assert(*tmp != NULL);
-	/* first field is the user name */
-	tmp++;
-	for (; *tmp != NULL; tmp++) {
-		auth_stream_reply_import(reply,
-					 t_strconcat("userdb_", *tmp, NULL));
-	}
-}
-
 static void auth_worker_send_reply(struct auth_worker_client *client,
 				   string_t *str)
 {
@@ -228,8 +212,6 @@
 				auth_stream_reply_export(request->extra_cache_fields);
 			auth_stream_reply_import(reply, fields);
 		}
-		if (request->userdb_reply != NULL)
-			add_userdb_replies(reply, request->userdb_reply);
 	}
 	str = auth_stream_reply_get_str(reply);
 	str_append_c(str, '\n');