dovecot-1.1: array_clear() is now equivalent to buffer_clear(), ...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Feb 29 03:33:20 EET 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/3161b8648468
changeset: 7305:3161b8648468
user: Timo Sirainen <tss at iki.fi>
date: Fri Feb 29 03:36:07 2008 +0200
description:
array_clear() is now equivalent to buffer_clear(), use it.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-storage/index/index-mail-headers.c | 2 +-
diffs (12 lines):
diff -r 90154a6d225e -r 3161b8648468 src/lib-storage/index/index-mail-headers.c
--- a/src/lib-storage/index/index-mail-headers.c Fri Feb 29 03:34:05 2008 +0200
+++ b/src/lib-storage/index/index-mail-headers.c Fri Feb 29 03:36:07 2008 +0200
@@ -215,7 +215,7 @@ void index_mail_parse_header_init(struct
(HEADER_MATCH_SKIP_COUNT-1)) == 0);
if (mail->header_match_value == 0) {
/* wrapped, we'll have to clear the buffer */
- buffer_reset(mail->header_match.arr.buffer);
+ array_clear(&mail->header_match);
mail->header_match_value = HEADER_MATCH_SKIP_COUNT;
}
}
More information about the dovecot-cvs
mailing list