changeset 4995:1a5a408923f3 HEAD

We sent extra "OK" to master, causing it to think it was the username.
author Timo Sirainen <tss@iki.fi>
date Sun, 07 Jan 2007 09:24:33 +0200
parents b7daf0849f27
children cfef56a6bf4a
files src/auth/userdb-blocking.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/auth/userdb-blocking.c	Fri Jan 05 20:48:55 2007 +0200
+++ b/src/auth/userdb-blocking.c	Sun Jan 07 09:24:33 2007 +0200
@@ -20,7 +20,7 @@
 	else if (strncmp(reply, "OK\t", 3) == 0) {
 		result = USERDB_RESULT_OK;
 		stream_reply = auth_stream_reply_init(request);
-		auth_stream_reply_import(stream_reply, reply);
+		auth_stream_reply_import(stream_reply, reply + 3);
 	} else {
 		result = USERDB_RESULT_INTERNAL_FAILURE;
 		i_error("BUG: auth-worker sent invalid user reply");