[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-save.c, 1.100, 1.101
tss at dovecot.org
tss at dovecot.org
Fri Dec 15 18:38:24 UTC 2006
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-copy.c, 1.47, 1.48 maildir-mail.c, 1.30, 1.31 maildir-sync.c, 1.86, 1.87
- Next message: [dovecot-cvs] dovecot/src/login-common login-proxy.c, 1.13, 1.14 ssl-proxy-gnutls.c, 1.13, 1.14 ssl-proxy-openssl.c, 1.51, 1.52
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv3614/lib-storage/index/mbox
Modified Files:
mbox-save.c
Log Message:
Replaced void *context from a lot of callbacks with the actual context
type. Also added/fixed some context type checks.
Index: mbox-save.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-save.c,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -d -r1.100 -r1.101
--- mbox-save.c 15 Oct 2006 15:42:58 -0000 1.100
+++ mbox-save.c 15 Dec 2006 18:38:22 -0000 1.101
@@ -322,10 +322,8 @@
}
static void save_header_callback(struct message_header_line *hdr,
- bool *matched, void *context)
+ bool *matched, struct mbox_save_context *ctx)
{
- struct mbox_save_context *ctx = context;
-
if (hdr != NULL) {
if (strncmp(hdr->name, "From ", 5) == 0) {
/* we can't allow From_-lines in headers. there's no
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-copy.c, 1.47, 1.48 maildir-mail.c, 1.30, 1.31 maildir-sync.c, 1.86, 1.87
- Next message: [dovecot-cvs] dovecot/src/login-common login-proxy.c, 1.13, 1.14 ssl-proxy-gnutls.c, 1.13, 1.14 ssl-proxy-openssl.c, 1.51, 1.52
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list