changeset 4118:b66da5c1a94b HEAD

Replaced %T and %R with %p and %b. %R was already used by string-reversion, so uppercase letters should now be reserved for modifiers to avoid this in future..
author Timo Sirainen <tss@iki.fi>
date Sat, 01 Apr 2006 12:57:55 +0300
parents 273ae8a1a58a
children 162d643ee89b
files dovecot-example.conf src/master/master-settings.c src/pop3/client.c
diffstat 3 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/dovecot-example.conf	Sat Apr 01 12:36:25 2006 +0300
+++ b/dovecot-example.conf	Sat Apr 01 12:57:55 2006 +0300
@@ -538,13 +538,13 @@
 
   # POP3 logout format string:
   #  %t - number of TOP commands
-  #  %T - number of bytes sent to client as a result of TOP command
+  #  %p - number of bytes sent to client as a result of TOP command
   #  %r - number of RETR commands
-  #  %R - number of bytes sent to client as a result of RETR command
+  #  %b - number of bytes sent to client as a result of RETR command
   #  %d - number of deleted messages
   #  %m - number of messages (before deletion)
   #  %s - mailbox size in bytes (before deletion)
-  #pop3_logout_format = top=%t/%T, retr=%r/%R, del=%d/%m, size=%s
+  #pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
 
   # Support for dynamically loadable plugins. mail_plugins is a space separated
   # list of plugins to load.
--- a/src/master/master-settings.c	Sat Apr 01 12:36:25 2006 +0300
+++ b/src/master/master-settings.c	Sat Apr 01 12:57:55 2006 +0300
@@ -353,7 +353,7 @@
 	MEMBER(pop3_reuse_xuidl) FALSE,
 	MEMBER(pop3_uidl_format) NULL,
 	MEMBER(pop3_client_workarounds) NULL,
-	MEMBER(pop3_logout_format) "top=%t/%T, retr=%r/%R, del=%d/%m, size=%s",
+	MEMBER(pop3_logout_format) "top=%t/%p, retr=%r/%b, del=%d/%m, size=%s",
 
 	/* .. */
 	MEMBER(login_uid) 0,
--- a/src/pop3/client.c	Sat Apr 01 12:36:25 2006 +0300
+++ b/src/pop3/client.c	Sat Apr 01 12:57:55 2006 +0300
@@ -178,9 +178,9 @@
 static const char *client_stats(struct client *client)
 {
 	static struct var_expand_table static_tab[] = {
-		{ 'T', NULL },
+		{ 'p', NULL },
 		{ 't', NULL },
-		{ 'R', NULL },
+		{ 'b', NULL },
 		{ 'r', NULL },
 		{ 'd', NULL },
 		{ 'm', NULL },