[dovecot-cvs] dovecot/src/plugins/zlib istream-zlib.c, 1.1, 1.2 zlib-plugin.c, 1.1, 1.2

cras at dovecot.org cras at dovecot.org
Fri Jan 13 22:26:52 EET 2006


Update of /var/lib/cvs/dovecot/src/plugins/zlib
In directory talvi:/tmp/cvs-serv27808/src/plugins/zlib

Modified Files:
	istream-zlib.c zlib-plugin.c 
Log Message:
Added "bool" type and changed all ints that were used as booleans to bool.



Index: istream-zlib.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/zlib/istream-zlib.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- istream-zlib.c	31 Dec 2005 17:39:16 -0000	1.1
+++ istream-zlib.c	13 Jan 2006 20:26:48 -0000	1.2
@@ -147,7 +147,7 @@
 	return ret;
 }
 
-static void _seek(struct _istream *stream, uoff_t v_offset, int mark)
+static void _seek(struct _istream *stream, uoff_t v_offset, bool mark)
 {
 	struct zlib_istream *zstream = (struct zlib_istream *) stream;
 	uoff_t start_offset = stream->istream.v_offset - stream->skip;
@@ -199,7 +199,7 @@
 	}
 }
 
-static const struct stat *_stat(struct _istream *stream, int exact)
+static const struct stat *_stat(struct _istream *stream, bool exact)
 {
 	struct zlib_istream *zstream = (struct zlib_istream *) stream;
 	size_t size;

Index: zlib-plugin.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/zlib/zlib-plugin.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- zlib-plugin.c	31 Dec 2005 17:39:16 -0000	1.1
+++ zlib-plugin.c	13 Jan 2006 20:26:48 -0000	1.2
@@ -24,7 +24,7 @@
 	(struct mail_storage *storage);
 
 static unsigned int zlib_storage_module_id = 0;
-static int zlib_storage_module_id_set = FALSE;
+static bool zlib_storage_module_id_set = FALSE;
 
 static const char *
 mbox_get_path(struct index_storage *storage, const char *name)



More information about the dovecot-cvs mailing list