diff src/pop3/main.c @ 21746:574ad44a7c80

imap, pop3, indexer-worker: Add (deinit) to process title before autoexpunging runs. lmtp should also do this, but it needs a bit larger changes.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Wed, 08 Mar 2017 15:39:34 -0500
parents 2e2563132d5f
children 869db4bcecdb
line wrap: on
line diff
--- a/src/pop3/main.c	Wed Mar 08 17:09:12 2017 -0500
+++ b/src/pop3/main.c	Wed Mar 08 15:39:34 2017 -0500
@@ -59,6 +59,8 @@
 			str_append_c(title, ' ');
 			str_append(title, net_ip2addr(client->user->remote_ip));
 		}
+		if (client->destroyed)
+			str_append(title, " (deinit)");
 		break;
 	default:
 		str_printfa(title, "%u connections", pop3_client_count);