diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2016-10-30 10:50:07 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2016-10-30 10:50:07 +0200 |
commit | b54540cbbc95069b6d073246a575683170920275 (patch) | |
tree | bf7d188d6ae5fa434be6a71b9c415b0d163b8aab /mh/repl.c | |
parent | c6848f52257191abb36b694be61ce333a8992b4b (diff) | |
download | mailutils-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 'mh/repl.c')
-rw-r--r-- | mh/repl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -73,7 +73,7 @@ set_fcc (struct mu_parseopt *po, struct mu_option *opt, char const *arg) { if (!has_fcc) { - mu_opool_create (&fcc_pool, 1); + mu_opool_create (&fcc_pool, MU_OPOOL_ENOMEMABRT); has_fcc = 1; } else |