[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dovecot-cvs
Subject:    [dovecot-cvs] dovecot/src/auth auth-master-connection.c,1.42,1.43
From:       cras () dovecot ! org (cras at dovecot ! org)
Date:       2006-07-30 23:05:33
Message-ID: 20060730230533.0EA2BC003BE9 () talvi ! dovecot ! org
[Download RAW message or body]

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

Modified Files:
	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.43
diff -u -d -r1.42 -r1.43
--- auth-master-connection.c	26 Feb 2006 10:04:59 -0000	1.42
+++ auth-master-connection.c	30 Jul 2006 23:05:30 -0000	1.43
@@ -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);
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic