summaryrefslogtreecommitdiff
path: root/mu
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2016-10-30 10:50:07 +0200
committerSergey Poznyakoff <gray@gnu.org>2016-10-30 10:50:07 +0200
commitb54540cbbc95069b6d073246a575683170920275 (patch)
treebf7d188d6ae5fa434be6a71b9c415b0d163b8aab /mu
parentc6848f52257191abb36b694be61ce333a8992b4b (diff)
downloadmailutils-b54540cbbc95069b6d073246a575683170920275.tar.gz
mailutils-b54540cbbc95069b6d073246a575683170920275.tar.bz2
Improve opool API
* configure.ac: Version 2.99.993 * NEWS: Update. * include/mailutils/opool.h (MU_OPOOL_DEFAULT) (MU_OPOOL_ENOMEMABRT): New defines. (mu_opool_create): Change meaning of the 2nd argument. All uses updated. (mu_opool_free, mu_opool_dup): New proto. * libmailutils/base/opool.c (_mu_opool) <memerr>: Replace with flags. <head,tail,free>: Rename. (mu_opool_free, mu_opool_dup): New functions. (mu_opool_head): Bugfix.
Diffstat (limited to 'mu')
-rw-r--r--mu/dbm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mu/dbm.c b/mu/dbm.c
index 531a3cf54..0722456ea 100644
--- a/mu/dbm.c
+++ b/mu/dbm.c
@@ -610,7 +610,7 @@ newfmt_init (struct xfer_format *fmt, const char *version,
else
{
mu_opool_t pool;
- rc = mu_opool_create (&pool, 0);
+ rc = mu_opool_create (&pool, MU_OPOOL_DEFAULT);
if (rc)
{
mu_diag_funcall (MU_DIAG_ERROR, "mu_opool_create",

Return to:

Send suggestions and report system problems to the System administrator.