X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib%2Fstr.c;fp=lib%2Fstr.c;h=e40e614dbc9e773eab5d6b3f233bace88b54a5e9;hb=617e7d83d14e14e6a520a48e75437211b16c8834;hp=11c27b31f4c19fc2883c797254456d11aba83816;hpb=49f1156410e9a037404101696d37b2c0d5c67564;p=apps%2Fmadmutt.git diff --git a/lib/str.c b/lib/str.c index 11c27b3..e40e614 100644 --- 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 */