dovecot: array_clear() is now equivalent to buffer_clear(), use it.
dovecot at dovecot.org
dovecot at dovecot.org
Fri Feb 29 03:33:24 EET 2008
details: http://hg.dovecot.org/dovecot/rev/5889b8a76c4b
changeset: 7300:5889b8a76c4b
user: Timo Sirainen <tss at iki.fi>
date: Fri Feb 29 03:36:11 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 a56c676ce65d -r 5889b8a76c4b src/lib-storage/index/index-mail-headers.c
--- a/src/lib-storage/index/index-mail-headers.c Fri Feb 29 03:34:07 2008 +0200
+++ b/src/lib-storage/index/index-mail-headers.c Fri Feb 29 03:36:11 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