[dovecot-cvs] dovecot/src/auth common.h,1.5,1.6 login-connection.c,1.21,1.22 main.c,1.17,1.18

cras at procontrol.fi cras at procontrol.fi
Sat Feb 8 19:13:39 EET 2003


Update of /home/cvs/dovecot/src/auth
In directory danu:/tmp/cvs-serv19422

Modified Files:
	common.h login-connection.c main.c 
Log Message:
Moved login process verbose stuff under verbose_debug.



Index: common.h
===================================================================
RCS file: /home/cvs/dovecot/src/auth/common.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- common.h	27 Jan 2003 01:33:40 -0000	1.5
+++ common.h	8 Feb 2003 17:13:36 -0000	1.6
@@ -7,6 +7,6 @@
 #define LOGIN_LISTEN_FD 3
 
 extern struct ioloop *ioloop;
-extern int verbose;
+extern int verbose, verbose_debug;
 
 #endif

Index: login-connection.c
===================================================================
RCS file: /home/cvs/dovecot/src/auth/login-connection.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- login-connection.c	8 Feb 2003 08:07:31 -0000	1.21
+++ login-connection.c	8 Feb 2003 17:13:36 -0000	1.22
@@ -88,7 +88,7 @@
 		login_connection_destroy(conn);
 	} else {
 		conn->pid = rec.pid;
-		if (verbose) {
+		if (verbose_debug) {
 			i_info("Login process %d sent handshake: PID %s",
 			       conn->fd, dec2str(conn->pid));
 		}
@@ -176,7 +176,7 @@
 {
 	struct login_connection *conn;
 
-	if (verbose)
+	if (verbose_debug)
 		i_info("Login process %d connected", fd);
 
 	conn = i_new(struct login_connection, 1);
@@ -220,7 +220,7 @@
 	if (conn->fd == -1)
 		return;
 
-	if (verbose)
+	if (verbose_debug)
 		i_info("Login process %d disconnected", conn->fd);
 
 	for (pos = &connections; *pos != NULL; pos = &(*pos)->next) {

Index: main.c
===================================================================
RCS file: /home/cvs/dovecot/src/auth/main.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- main.c	31 Jan 2003 06:56:58 -0000	1.17
+++ main.c	8 Feb 2003 17:13:36 -0000	1.18
@@ -17,7 +17,7 @@
 #include <syslog.h>
 
 struct ioloop *ioloop;
-int verbose = FALSE;
+int verbose = FALSE, verbose_debug = FALSE;
 
 static struct io *io_listen;
 
@@ -71,6 +71,7 @@
 	lib_init_signals(sig_quit);
 
 	verbose = getenv("VERBOSE") != NULL;
+	verbose_debug = getenv("VERBOSE_DEBUG") != NULL;
 
 	mech_init();
 	userdb_init();




More information about the dovecot-cvs mailing list