[dovecot-cvs] dovecot/src/login client-authenticate.c,1.23,1.24

cras at procontrol.fi cras at procontrol.fi
Fri Dec 20 07:01:12 EET 2002


Update of /home/cvs/dovecot/src/login
In directory danu:/tmp/cvs-serv19430

Modified Files:
	client-authenticate.c 
Log Message:
Removed extra space from capability string.



Index: client-authenticate.c
===================================================================
RCS file: /home/cvs/dovecot/src/login/client-authenticate.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- client-authenticate.c	19 Dec 2002 23:56:24 -0000	1.23
+++ client-authenticate.c	20 Dec 2002 05:01:09 -0000	1.24
@@ -39,13 +39,11 @@
 	i_free(auth_methods_capability);
 
 	str = t_string_new(128);
-	t_string_append_c(str, ' ');
 
 	for (i = 0; i < AUTH_METHODS_COUNT; i++) {
 		if ((auth_methods & auth_method_desc[i].method) &&
 		    auth_method_desc[i].name != NULL) {
-			if (str->len > 0)
-				t_string_append_c(str, ' ');
+			t_string_append_c(str, ' ');
 			t_string_append(str, "AUTH=");
 			t_string_append(str, auth_method_desc[i].name);
 		}




More information about the dovecot-cvs mailing list