oops, makedoc is used in the build process.
[apps/madmutt.git] / crypt.c
diff --git a/crypt.c b/crypt.c
index dad41c3..e5019ec 100644 (file)
--- a/crypt.c
+++ b/crypt.c
@@ -27,7 +27,6 @@
 #include "mutt_crypt.h"
 #include "pgp.h"
 
-#include "lib/mem.h"
 #include "lib/intl.h"
 #include "lib/str.h"
 
@@ -699,7 +698,7 @@ int crypt_get_keys (HEADER * msg, char **keylist)
 
 
 
-static void crypt_fetch_signatures (BODY *** signatures, BODY * a, int *n)
+static void crypt_fetch_signatures (BODY ***signatures, BODY * a, int *n)
 {
   if (!WithCrypto)
     return;
@@ -709,7 +708,7 @@ static void crypt_fetch_signatures (BODY *** signatures, BODY * a, int *n)
       crypt_fetch_signatures (signatures, a->parts, n);
     else {
       if ((*n % 5) == 0)
-        mem_realloc (signatures, (*n + 6) * sizeof (BODY **));
+        p_realloc(signatures, *n + 6);
 
       (*signatures)[(*n)++] = a;
     }