summaryrefslogtreecommitdiff
path: root/libmailutils/url
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 /libmailutils/url
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 'libmailutils/url')
-rw-r--r--libmailutils/url/urlstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmailutils/url/urlstr.c b/libmailutils/url/urlstr.c
index c57576a03..34c69f36a 100644
--- a/libmailutils/url/urlstr.c
+++ b/libmailutils/url/urlstr.c
@@ -111,7 +111,7 @@ mu_url_sget_name (const mu_url_t url, const char **retptr)
char *ptr, *newname;
size_t size;
- rc = mu_opool_create (&pool, 0);
+ rc = mu_opool_create (&pool, MU_OPOOL_DEFAULT);
if (rc)
return rc;
rc = url_reconstruct_to_pool (url, pool);

Return to:

Send suggestions and report system problems to the System administrator.