projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more updates in the build system, gettext related.
[apps/madmutt.git]
/
rfc2231.c
diff --git
a/rfc2231.c
b/rfc2231.c
index
04f9515
..
778995b
100644
(file)
--- a/
rfc2231.c
+++ b/
rfc2231.c
@@
-31,8
+31,6
@@
#include "rfc2047.h"
#include "rfc2231.h"
#include "rfc2047.h"
#include "rfc2231.h"
-#include "lib/mem.h"
-
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
@@
-167,7
+165,7
@@
void rfc2231_decode_parameters (PARAMETER ** headp)
static struct rfc2231_parameter *rfc2231_new_parameter (void)
{
static struct rfc2231_parameter *rfc2231_new_parameter (void)
{
- return
mem_calloc (sizeof (struct rfc2231_parameter)
, 1);
+ return
p_new(struct rfc2231_parameter
, 1);
}
static void rfc2231_free_parameter (struct rfc2231_parameter **p)
}
static void rfc2231_free_parameter (struct rfc2231_parameter **p)
@@
-274,7
+272,7
@@
static void rfc2231_join_continuations (PARAMETER ** head,
vl = str_len (par->value);
vl = str_len (par->value);
-
mem_realloc
(&value, l + vl + 1);
+
p_realloc
(&value, l + vl + 1);
strcpy (value + l, par->value); /* __STRCPY_CHECKED__ */
l += vl;
strcpy (value + l, par->value); /* __STRCPY_CHECKED__ */
l += vl;