[dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-uidlist.c,
1.28, 1.29
cras at dovecot.org
cras at dovecot.org
Thu Jun 8 17:42:23 EEST 2006
Update of /var/lib/cvs/dovecot/src/lib-storage/index/dbox
In directory talvi:/tmp/cvs-serv31342
Modified Files:
dbox-uidlist.c
Log Message:
dbox_rotate_size checking was wrong.
Index: dbox-uidlist.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/dbox/dbox-uidlist.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- dbox-uidlist.c 3 May 2006 18:59:38 -0000 1.28
+++ dbox-uidlist.c 8 Jun 2006 14:42:21 -0000 1.29
@@ -35,9 +35,6 @@
struct dotlock *dotlock;
array_t ARRAY_DEFINE(seqs, unsigned int);
-
- /* append offset for the first mail we've saved */
- uoff_t append_offset;
};
struct dbox_uidlist {
@@ -671,7 +668,7 @@
/* add creation time and file size */
str_printfa(str, " %s %s", dec2str(save_file->file->create_time),
- dec2str(save_file->append_offset));
+ dec2str(save_file->file->append_offset));
str_append_c(str, '\n');
}
@@ -1062,7 +1059,7 @@
files = array_get(&ctx->files, &count);
for (i = 0; i < count; i++) {
if (DBOX_CAN_APPEND(ctx, files[i]->file->create_time,
- files[i]->append_offset)) {
+ files[i]->file->append_offset)) {
if (dbox_reopen_file(ctx, files[i]) < 0)
return -1;
More information about the dovecot-cvs
mailing list