Mercurial > dovecot > core-2.2
changeset 12266:c38f630dae09
*-login: If client didn't log in, don't log mpid in logout message.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 14 Oct 2010 17:02:20 +0100 |
parents | f3aa8be626fa |
children | ff1ac6f22ba1 |
files | src/login-common/client-common.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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; }