[dovecot-cvs] dovecot/src/master mail-process.c,1.20,1.21
cras at procontrol.fi
cras at procontrol.fi
Sun May 18 20:37:07 EEST 2003
Update of /home/cvs/dovecot/src/master
In directory danu:/tmp/cvs-serv27890/master
Modified Files:
mail-process.c
Log Message:
s/host/addr/ in a few network functions
Index: mail-process.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/mail-process.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- mail-process.c 18 May 2003 16:26:26 -0000 1.20
+++ mail-process.c 18 May 2003 16:37:05 -0000 1.21
@@ -105,7 +105,7 @@
struct auth_master_reply *reply, const char *data)
{
static const char *argv[] = { NULL, NULL, NULL };
- const char *host, *mail, *chroot_dir, *home_dir, *full_home_dir;
+ const char *addr, *mail, *chroot_dir, *home_dir, *full_home_dir;
char title[1024];
pid_t pid;
int i, err;
@@ -216,15 +216,15 @@
env_put(t_strconcat("MAIL=", mail, NULL));
env_put(t_strconcat("USER=", data + reply->virtual_user_idx, NULL));
- host = net_ip2host(ip);
- env_put(t_strconcat("IP=", host, NULL));
+ addr = net_ip2addr(ip);
+ env_put(t_strconcat("IP=", addr, NULL));
if (set->verbose_proctitle) {
- if (host == NULL)
- host = "??";
+ if (addr == NULL)
+ addr = "??";
i_snprintf(title, sizeof(title), "[%s %s]",
- data + reply->virtual_user_idx, host);
+ data + reply->virtual_user_idx, addr);
argv[1] = title;
}
More information about the dovecot-cvs
mailing list