exit mem_realloc, enters p_realloc/xrealloc.
[apps/madmutt.git] / lib.c
diff --git a/lib.c b/lib.c
index e683c6d..eee11e5 100644 (file)
--- a/lib.c
+++ b/lib.c
@@ -38,7 +38,6 @@
 
 #include "lib.h"
 
-#include "lib/mem.h"
 #include "lib/str.h"
 #include "lib/debug.h"
 
@@ -435,7 +434,7 @@ char *mutt_read_line(char *s, size_t * size, FILE * fp, int *line)
         /* There wasn't room for the line -- increase ``s'' */
         offset = *size - 1;     /* overwrite the terminating 0 */
         *size += STRING;
-        mem_realloc (&s, *size);
+        p_realloc(&s, *size);
       }
     }
   }