[dovecot-cvs] dovecot/src/lib-mail message-address.c,1.9,1.10
cras at dovecot.org
cras at dovecot.org
Thu Jan 6 22:50:38 EET 2005
- Previous message: [dovecot-cvs] dovecot/src/auth db-passwd-file.c, 1.9,
1.10 userdb-ldap.c, 1.20, 1.21 userdb-sql.c, 1.4,
1.5 userdb-static.c, 1.9, 1.10 userdb.c, 1.13, 1.14 userdb.h,
1.13, 1.14
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index index-mail-headers.c,
1.40, 1.41
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-mail
In directory talvi:/tmp/cvs-serv2569/lib-mail
Modified Files:
message-address.c
Log Message:
Allow giving data stack pool for message_address_parse()
Index: message-address.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-mail/message-address.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- message-address.c 6 Jan 2005 18:14:28 -0000 1.9
+++ message-address.c 6 Jan 2005 20:50:36 -0000 1.10
@@ -269,7 +269,8 @@
{
struct message_address_parser_context ctx;
- t_push();
+ if (!pool->datastack_pool)
+ t_push();
memset(&ctx, 0, sizeof(ctx));
rfc822_parser_init(&ctx.parser, data, size, t_str_new(128));
@@ -277,7 +278,8 @@
ctx.str = t_str_new(128);
(void)parse_address_list(&ctx, max_addresses);
- t_pop();
+ if (!pool->datastack_pool)
+ t_pop();
return ctx.first_addr;
}
- Previous message: [dovecot-cvs] dovecot/src/auth db-passwd-file.c, 1.9,
1.10 userdb-ldap.c, 1.20, 1.21 userdb-sql.c, 1.4,
1.5 userdb-static.c, 1.9, 1.10 userdb.c, 1.13, 1.14 userdb.h,
1.13, 1.14
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index index-mail-headers.c,
1.40, 1.41
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list