[dovecot-cvs] dovecot/src/auth auth-master-connection.c, 1.42, 1.42.2.1

cras at dovecot.org cras at dovecot.org
Mon Jul 31 02:05:30 EEST 2006


Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv10197

Modified Files:
      Tag: branch_1_0
	auth-master-connection.c 
Log Message:
Debug: Don't log empty error when writing "master out" debug lines.



Index: auth-master-connection.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-master-connection.c,v
retrieving revision 1.42
retrieving revision 1.42.2.1
diff -u -d -r1.42 -r1.42.2.1
--- auth-master-connection.c	26 Feb 2006 10:04:59 -0000	1.42
+++ auth-master-connection.c	30 Jul 2006 23:05:28 -0000	1.42.2.1
@@ -86,16 +86,16 @@
 
 	str = t_str_new(128);
 	if (reply == NULL)
-		str_printfa(str, "NOTFOUND\t%u\n", auth_request->id);
+		str_printfa(str, "NOTFOUND\t%u", auth_request->id);
 	else {
 		str_printfa(str, "USER\t%u\t", auth_request->id);
 		str_append(str, auth_stream_reply_export(reply));
-		str_append_c(str, '\n');
 	}
 
 	if (conn->listener->auth->verbose_debug)
 		i_info("master out: %s", str_c(str));
 
+	str_append_c(str, '\n');
 	(void)o_stream_send(conn->output, str_data(str), str_len(str));
 	auth_request_unref(&auth_request);
 }



More information about the dovecot-cvs mailing list