[dovecot-cvs] dovecot/src/login-common auth-connection.c,1.1,1.2

cras at procontrol.fi cras at procontrol.fi
Sun Feb 2 10:11:35 EET 2003


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

Modified Files:
	auth-connection.c 
Log Message:
s/imap-auth/auth process/



Index: auth-connection.c
===================================================================
RCS file: /home/cvs/dovecot/src/login-common/auth-connection.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- auth-connection.c	28 Jan 2003 21:35:26 -0000	1.1
+++ auth-connection.c	2 Feb 2003 08:11:33 -0000	1.2
@@ -50,7 +50,7 @@
 
 	fd = net_connect_unix(path);
 	if (fd == -1) {
-		i_error("Can't connect to imap-auth at %s: %m", path);
+		i_error("Can't connect to auth process at %s: %m", path);
                 auth_reconnect = TRUE;
 		return NULL;
 	}
@@ -112,7 +112,7 @@
 	hash_destroy(conn->requests);
 
 	if (close(conn->fd) < 0)
-		i_error("close(imap-auth) failed: %m");
+		i_error("close(auth) failed: %m");
 	io_remove(conn->io);
 	i_stream_unref(conn->input);
 	o_stream_unref(conn->output);
@@ -179,7 +179,7 @@
 
 	request = hash_lookup(conn->requests, POINTER_CAST(reply->id));
 	if (request == NULL) {
-		i_error("BUG: imap-auth sent us reply with unknown ID %u",
+		i_error("BUG: Auth process sent us reply with unknown ID %u",
 			reply->id);
 		return;
 	}
@@ -206,8 +206,8 @@
 		auth_connection_destroy(conn);
 		return;
 	case -2:
-		/* buffer full - can't happen unless imap-auth is buggy */
-		i_error("BUG: imap-auth sent us more than %d bytes of data",
+		/* buffer full - can't happen unless auth is buggy */
+		i_error("BUG: Auth process sent us more than %d bytes of data",
 			MAX_INBUF_SIZE);
 		auth_connection_destroy(conn);
 		return;
@@ -221,7 +221,7 @@
 
 			auth_handle_handshake(conn, &handshake);
 		} else if (size > sizeof(handshake)) {
-			i_error("BUG: imap-auth sent us too large handshake "
+			i_error("BUG: Auth process sent us too large handshake "
 				"(%"PRIuSIZE_T " vs %"PRIuSIZE_T")", size,
 				sizeof(handshake));
 			auth_connection_destroy(conn);




More information about the dovecot-cvs mailing list