changeset 4255:4f742c7f7948 HEAD

Don't send extra TABs to auth worker server, they break it.
author Timo Sirainen <tss@iki.fi>
date Fri, 05 May 2006 17:53:34 +0300
parents f7d281db12e6
children cfe9e58be252
files src/auth/auth-worker-client.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/auth/auth-worker-client.c	Fri May 05 17:21:22 2006 +0300
+++ b/src/auth/auth-worker-client.c	Fri May 05 17:53:34 2006 +0300
@@ -89,12 +89,13 @@
 		str_append_c(str, '\t');
 		if (request->passdb_password != NULL)
 			str_append(str, request->passdb_password);
-		str_append_c(str, '\t');
 		if (request->no_password)
-			str_append(str, "nopassword\t");
+			str_append(str, "\tnopassword");
 		if (request->extra_fields != NULL) {
 			const char *field =
 				auth_stream_reply_export(request->extra_fields);
+
+			str_append_c(str, '\t');
 			str_append(str, field);
 		}
 	}