Mercurial > dovecot > core-2.2
diff src/lib-mail/istream-header-filter.c @ 2708:f1e9f3ec8135 HEAD
Buffer API change: we no longer support limited sized buffers where
writes past limit wouldn't kill the process. They weren't used hardly
anywhere, they could have hidden bugs and the code for handling them was too
complex.
This also changed base64 and hex-binary APIs.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 08 Oct 2004 20:51:47 +0300 |
parents | 2844c33a1be9 |
children | 19a6ff9fed58 |
line wrap: on
line diff
--- a/src/lib-mail/istream-header-filter.c Fri Oct 08 20:06:18 2004 +0300 +++ b/src/lib-mail/istream-header-filter.c Fri Oct 08 20:51:47 2004 +0300 @@ -291,7 +291,7 @@ for (i = 0; i < headers_count; i++) mstream->headers[i] = p_strdup(pool, headers[i]); mstream->headers_count = headers_count; - mstream->hdr_buf = buffer_create_dynamic(pool, 1024, (size_t)-1); + mstream->hdr_buf = buffer_create_dynamic(pool, 1024); mstream->callback = callback; mstream->context = context;