dovecot-2.0: zlib: Fixed compiling if both zlib and bzlib weren'...

dovecot at dovecot.org dovecot at dovecot.org
Sat Mar 27 04:20:24 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/89c602af7e09
changeset: 11004:89c602af7e09
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Mar 27 04:20:21 2010 +0200
description:
zlib: Fixed compiling if both zlib and bzlib weren't used.

diffstat:

 src/plugins/zlib/zlib-plugin.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (20 lines):

diff -r 5a6aaf88f15c -r 89c602af7e09 src/plugins/zlib/zlib-plugin.c
--- a/src/plugins/zlib/zlib-plugin.c	Sat Mar 27 04:06:20 2010 +0200
+++ b/src/plugins/zlib/zlib-plugin.c	Sat Mar 27 04:20:21 2010 +0200
@@ -24,12 +24,12 @@
 	MODULE_CONTEXT(obj, zlib_user_module)
 
 #ifndef HAVE_ZLIB
-#  define i_stream_create_zlib NULL
-#  define o_stream_create_zlib NULL
+#  define i_stream_create_gz NULL
+#  define o_stream_create_gz NULL
 #endif
 #ifndef HAVE_BZLIB
-#  define i_stream_create_bzlib NULL
-#  define o_stream_create_bzlib NULL
+#  define i_stream_create_bz2 NULL
+#  define o_stream_create_bz2 NULL
 #endif
 
 #define MAX_INBUF_SIZE (1024*1024)


More information about the dovecot-cvs mailing list