Update calls to mu_assoc_create
Showing
2 changed files
with
2 additions
and
2 deletions
... | @@ -90,7 +90,7 @@ alias_create (const char *name, alias_t *al) | ... | @@ -90,7 +90,7 @@ alias_create (const char *name, alias_t *al) |
90 | 90 | ||
91 | if (!aliases) | 91 | if (!aliases) |
92 | { | 92 | { |
93 | mu_assoc_create (&aliases, sizeof (struct _alias)); | 93 | mu_assoc_create (&aliases, sizeof (struct _alias), 0); |
94 | mu_assoc_set_free (aliases, alias_free); | 94 | mu_assoc_set_free (aliases, alias_free); |
95 | } | 95 | } |
96 | 96 | ... | ... |
... | @@ -1432,7 +1432,7 @@ mutil_parse_field_map (const char *map, mu_assoc_t *passoc_tab, int *perr) | ... | @@ -1432,7 +1432,7 @@ mutil_parse_field_map (const char *map, mu_assoc_t *passoc_tab, int *perr) |
1432 | } | 1432 | } |
1433 | if (!assoc_tab) | 1433 | if (!assoc_tab) |
1434 | { | 1434 | { |
1435 | rc = mu_assoc_create (&assoc_tab, sizeof(char*)); | 1435 | rc = mu_assoc_create (&assoc_tab, sizeof(char*), 0); |
1436 | if (rc) | 1436 | if (rc) |
1437 | break; | 1437 | break; |
1438 | mu_assoc_set_free (assoc_tab, assoc_str_free); | 1438 | mu_assoc_set_free (assoc_tab, assoc_str_free); | ... | ... |
-
Please register or sign in to post a comment