exit mem_realloc, enters p_realloc/xrealloc.
[apps/madmutt.git] / lib / str.c
index 11c27b3..e40e614 100644 (file)
--- a/lib/str.c
+++ b/lib/str.c
@@ -16,8 +16,6 @@
 
 #include "str.h"
 
-#include "mem.h"
-
 char *str_dup (const char *s)
 {
   if (!s || !*s)
@@ -103,7 +101,7 @@ void str_adjust (char **p)
 {
   if (!p || !*p)
     return;
-  mem_realloc (p, str_len (*p) + 1);
+  p_realloc(p, str_len (*p) + 1);
 }
 
 /* convert all characters in the string to lowercase */