Mercurial > dovecot > original-hg > dovecot-1.2
diff src/pop3/commands.c @ 2996:9219e788d774 HEAD
Added %f pop3_uidl_format for maildir. Patch by Andrey Panin.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 19 Dec 2004 08:36:12 +0200 |
parents | 96a4ab34c8f1 |
children | 61c8d205d887 |
line wrap: on
line diff
--- a/src/pop3/commands.c Sun Dec 19 07:49:26 2004 +0200 +++ b/src/pop3/commands.c Sun Dec 19 08:36:12 2004 +0200 @@ -483,6 +483,7 @@ { 'v', NULL }, { 'u', NULL }, { 'm', NULL }, + { 'f', NULL }, { '\0', NULL } }; struct var_expand_table *tab; @@ -512,6 +513,11 @@ tab[2].value = mail->get_special(mail, MAIL_FETCH_HEADER_MD5); } + if ((uidl_keymask & UIDL_FILE_NAME) != 0) { + tab[3].value = + mail->get_special(mail, + MAIL_FETCH_UIDL_FILE_NAME); + } str_truncate(str, 0); str_printfa(str, ctx->message == 0 ? "%u " : "+OK %u ",