exit mem_realloc, enters p_realloc/xrealloc.
[apps/madmutt.git] / rfc2231.c
index 29d60df..778995b 100644 (file)
--- a/rfc2231.c
+++ b/rfc2231.c
@@ -31,8 +31,6 @@
 #include "rfc2047.h"
 #include "rfc2231.h"
 
-#include "lib/mem.h"
-
 #include <ctype.h>
 #include <string.h>
 #include <stdlib.h>
@@ -274,7 +272,7 @@ static void rfc2231_join_continuations (PARAMETER ** head,
 
       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;