[dovecot-cvs] dovecot/src/lib-index mail-cache.c,1.18,1.19
cras at procontrol.fi
cras at procontrol.fi
Tue Oct 21 07:35:34 EEST 2003
Update of /home/cvs/dovecot/src/lib-index
In directory danu:/tmp/cvs-serv6665/lib-index
Modified Files:
mail-cache.c
Log Message:
assert
Index: mail-cache.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-cache.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- mail-cache.c 21 Oct 2003 03:25:03 -0000 1.18
+++ mail-cache.c 21 Oct 2003 03:35:32 -0000 1.19
@@ -1365,6 +1365,7 @@
uint32_t offset, update_offset, size;
const char *header_str;
+ i_assert(*headers != NULL);
i_assert(idx < MAIL_CACHE_HEADERS_COUNT);
i_assert(idx >= ctx->next_unused_header_lowwater);
i_assert(offset_to_uint32(cache->header->header_offsets[idx]) == 0);
More information about the dovecot-cvs
mailing list