]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
zlib: Fixed compiling if both zlib and bzlib weren't used.
authorTimo Sirainen <tss@iki.fi>
Sat, 27 Mar 2010 02:20:21 +0000 (04:20 +0200)
committerTimo Sirainen <tss@iki.fi>
Sat, 27 Mar 2010 02:20:21 +0000 (04:20 +0200)
--HG--
branch : HEAD

src/plugins/zlib/zlib-plugin.c

index 7c906cff17d304438e4b859b98120db209664a78..4b332e289113fd636c19ad13488793b20448f0e0 100644 (file)
        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)