dovecot-2.0: *-login: If client didn't log in, don't log mpid in...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Oct 14 19:02:22 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/c38f630dae09
changeset: 12266:c38f630dae09
user: Timo Sirainen <tss at iki.fi>
date: Thu Oct 14 17:02:20 2010 +0100
description:
*-login: If client didn't log in, don't log mpid in logout message.
diffstat:
src/login-common/client-common.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r f3aa8be626fa -r c38f630dae09 src/login-common/client-common.c
--- a/src/login-common/client-common.c Thu Oct 14 16:58:57 2010 +0100
+++ b/src/login-common/client-common.c Thu Oct 14 17:02:20 2010 +0100
@@ -393,7 +393,8 @@
tab[12].value =
ssl_proxy_get_security_string(client->ssl_proxy);
}
- tab[13].value = dec2str(client->mail_pid);
+ tab[13].value = client->mail_pid == 0 ? "" :
+ dec2str(client->mail_pid);
return tab;
}
More information about the dovecot-cvs
mailing list