[dovecot-cvs] dovecot/src/lib mempool-alloconly.c, 1.35.2.1,
1.35.2.2
cras at dovecot.org
cras at dovecot.org
Fri May 12 20:54:56 EEST 2006
Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv31427
Modified Files:
Tag: branch_1_0
mempool-alloconly.c
Log Message:
Fixes to compiling with DEBUG
Index: mempool-alloconly.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/mempool-alloconly.c,v
retrieving revision 1.35.2.1
retrieving revision 1.35.2.2
diff -u -d -r1.35.2.1 -r1.35.2.2
--- mempool-alloconly.c 10 May 2006 10:46:44 -0000 1.35.2.1
+++ mempool-alloconly.c 12 May 2006 17:54:52 -0000 1.35.2.2
@@ -74,7 +74,7 @@
#ifdef DEBUG
static void check_nuls(struct pool_block *block)
{
- const unsigned char *data = POOL_BLOCK_DATA(block);
+ const char *data = POOL_BLOCK_DATA(block);
size_t i;
for (i = block->size - block->left; i < block->size; i++) {
@@ -82,7 +82,7 @@
i_unreached();
}
if (block->prev != NULL)
- check_nuls(block->prev, 0);
+ check_nuls(block->prev);
}
#endif
More information about the dovecot-cvs
mailing list