[dovecot-cvs] dovecot/src/lib-index mail-cache-compress.c, 1.35,
1.36 mail-cache-fields.c, 1.16, 1.17
cras at dovecot.org
cras at dovecot.org
Sun Sep 25 13:44:08 EEST 2005
- Previous message: [dovecot-cvs] dovecot/src/lib lib.c,1.12,1.13 lib.h,1.19,1.20
- Next message: [dovecot-cvs] dovecot/src/lib ostream-file.c, 1.51,
1.52 ostream-internal.h, 1.5, 1.6 ostream.c, 1.12,
1.13 ostream.h, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv8127/lib-index
Modified Files:
mail-cache-compress.c mail-cache-fields.c
Log Message:
Removed null4 and replaced the few uses of it with buffer_append_zero().
Index: mail-cache-compress.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-cache-compress.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- mail-cache-compress.c 27 Aug 2005 10:20:39 -0000 1.35
+++ mail-cache-compress.c 25 Sep 2005 10:44:05 -0000 1.36
@@ -94,7 +94,7 @@
buffer_append(ctx->buffer, data, data_size);
if ((data_size & 3) != 0)
- buffer_append(ctx->buffer, null4, 4 - (data_size & 3));
+ buffer_append_zero(ctx->buffer, 4 - (data_size & 3));
return 1;
}
Index: mail-cache-fields.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-cache-fields.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- mail-cache-fields.c 13 Jul 2005 15:50:56 -0000 1.16
+++ mail-cache-fields.c 25 Sep 2005 10:44:05 -0000 1.17
@@ -393,7 +393,7 @@
buffer_write(dest, 0, &hdr, sizeof(hdr));
if ((hdr.size & 3) != 0)
- buffer_append(dest, null4, 4 - (hdr.size & 3));
+ buffer_append_zero(dest, 4 - (hdr.size & 3));
}
int mail_cache_header_fields_get_next_offset(struct mail_cache *cache,
- Previous message: [dovecot-cvs] dovecot/src/lib lib.c,1.12,1.13 lib.h,1.19,1.20
- Next message: [dovecot-cvs] dovecot/src/lib ostream-file.c, 1.51,
1.52 ostream-internal.h, 1.5, 1.6 ostream.c, 1.12,
1.13 ostream.h, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list