[dovecot-cvs] dovecot/src/pop3-login client.c,1.11,1.12

cras at procontrol.fi cras at procontrol.fi
Sun May 18 20:37:58 EEST 2003


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

Modified Files:
	client.c 
Log Message:
s/host/addr/ in variables



Index: client.c
===================================================================
RCS file: /home/cvs/dovecot/src/pop3-login/client.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- client.c	18 May 2003 16:37:05 -0000	1.11
+++ client.c	18 May 2003 16:37:56 -0000	1.12
@@ -37,17 +37,17 @@
 
 static void client_set_title(struct pop3_client *client)
 {
-	const char *host;
+	const char *addr;
 
 	if (!verbose_proctitle || !process_per_connection)
 		return;
 
-	host = net_ip2addr(&client->common.ip);
-	if (host == NULL)
-		host = "??";
+	addr = net_ip2addr(&client->common.ip);
+	if (addr == NULL)
+		addr = "??";
 
 	process_title_set(t_strdup_printf(client->tls ? "[%s TLS]" : "[%s]",
-					  host));
+					  addr));
 }
 
 static void client_open_streams(struct pop3_client *client, int fd)
@@ -321,13 +321,13 @@
 
 void client_syslog(struct pop3_client *client, const char *text)
 {
-	const char *host;
+	const char *addr;
 
-	host = net_ip2addr(&client->common.ip);
-	if (host == NULL)
-		host = "??";
+	addr = net_ip2addr(&client->common.ip);
+	if (addr == NULL)
+		addr = "??";
 
-	i_info("%s [%s]", text, host);
+	i_info("%s [%s]", text, addr);
 }
 
 static void client_hash_check_idle(void *key, void *value __attr_unused__,



More information about the dovecot-cvs mailing list