[dovecot-cvs] dovecot/src/pop3 client.c, 1.66, 1.67 client.h, 1.13, 1.14 commands.c, 1.54, 1.55

cras at dovecot.org cras at dovecot.org
Fri Aug 11 01:32:14 EEST 2006


Update of /var/lib/cvs/dovecot/src/pop3
In directory talvi:/tmp/cvs-serv27412

Modified Files:
	client.c client.h commands.c 
Log Message:
Show number of actually expunged messages in logout message, instead of
number of messages marked as deleted.



Index: client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/client.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- client.c	9 Apr 2006 15:50:54 -0000	1.66
+++ client.c	10 Aug 2006 22:32:10 -0000	1.67
@@ -199,7 +199,7 @@
 	tab[1].value = dec2str(client->top_count);
 	tab[2].value = dec2str(client->retr_bytes);
 	tab[3].value = dec2str(client->retr_count);
-	tab[4].value = dec2str(client->deleted_count);
+	tab[4].value = dec2str(client->expunged_count);
 	tab[5].value = dec2str(client->messages_count);
 	tab[6].value = dec2str(client->total_size);
 

Index: client.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/client.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- client.h	6 Mar 2006 20:34:42 -0000	1.13
+++ client.h	10 Aug 2006 22:32:10 -0000	1.14
@@ -25,6 +25,7 @@
 	unsigned int uid_validity;
 	unsigned int messages_count;
 	unsigned int deleted_count;
+	unsigned int expunged_count;
 	uoff_t *message_sizes;
 	uoff_t total_size;
 	uoff_t deleted_size;

Index: commands.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/commands.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- commands.c	1 Jul 2006 20:26:15 -0000	1.54
+++ commands.c	10 Aug 2006 22:32:10 -0000	1.55
@@ -216,6 +216,7 @@
 				ret = FALSE;
 				break;
 			}
+			client->expunged_count++;
 		}
 	}
 	mail_free(&mail);



More information about the dovecot-cvs mailing list