Mercurial > dovecot > original-hg > dovecot-1.2
changeset 7740:5889b8a76c4b HEAD
array_clear() is now equivalent to buffer_clear(), use it.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 29 Feb 2008 03:36:11 +0200 |
parents | a56c676ce65d |
children | 9b10a0c47e9b |
files | src/lib-storage/index/index-mail-headers.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ (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; } }