Mercurial > dovecot > original-hg > dovecot-1.2
changeset 5482:834118e5329f HEAD
Moved I_STREAM_MIN_SIZE to header
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 31 Mar 2007 11:42:36 +0300 |
parents | 460d6aeee7af |
children | c44bb2b3994d |
files | src/lib/istream-file.c src/lib/istream-internal.h src/lib/istream.c src/plugins/zlib/istream-zlib.c |
diffstat | 4 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib/istream-file.c Sat Mar 31 11:37:54 2007 +0300 +++ b/src/lib/istream-file.c Sat Mar 31 11:42:36 2007 +0300 @@ -11,8 +11,6 @@ #include <unistd.h> #include <sys/stat.h> -#define I_STREAM_MIN_SIZE 4096 - struct file_istream { struct _istream istream;
--- a/src/lib/istream-internal.h Sat Mar 31 11:37:54 2007 +0300 +++ b/src/lib/istream-internal.h Sat Mar 31 11:42:36 2007 +0300 @@ -4,6 +4,8 @@ #include "istream.h" #include "iostream-internal.h" +#define I_STREAM_MIN_SIZE 4096 + struct _istream { /* inheritance: */ struct _iostream iostream;
--- a/src/lib/istream.c Sat Mar 31 11:37:54 2007 +0300 +++ b/src/lib/istream.c Sat Mar 31 11:42:36 2007 +0300 @@ -5,8 +5,6 @@ #include "str.h" #include "istream-internal.h" -#define I_STREAM_MIN_SIZE 512 - void i_stream_destroy(struct istream **stream) { i_stream_close(*stream);
--- a/src/plugins/zlib/istream-zlib.c Sat Mar 31 11:37:54 2007 +0300 +++ b/src/plugins/zlib/istream-zlib.c Sat Mar 31 11:42:36 2007 +0300 @@ -10,8 +10,6 @@ this pretty large */ #define DEFAULT_MAX_BUFFER_SIZE (1024*1024) -#define I_STREAM_MIN_SIZE 4096 - struct zlib_istream { struct _istream istream;