summaryrefslogtreecommitdiff
path: root/comsat
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 /comsat
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 'comsat')
-rw-r--r--comsat/action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/comsat/action.c b/comsat/action.c
index 0582637b2..dc5703274 100644
--- a/comsat/action.c
+++ b/comsat/action.c
@@ -144,7 +144,7 @@ expand_line (const char *str, mu_message_t msg)
if (!*str)
return NULL;
- mu_opool_create (&pool, 1);
+ mu_opool_create (&pool, MU_OPOOL_ENOMEMABRT);
for (p = str; *p; p++)
{
switch (*p)

Return to:

Send suggestions and report system problems to the System administrator.