Rocco Rutte:
[apps/madmutt.git] / pgpmicalg.c
index 80f7c38..0caba38 100644 (file)
@@ -16,6 +16,7 @@
 #endif
 
 #include "mutt.h"
+#include "handler.h"
 #include "pgp.h"
 #include "pgppacket.h"
 #include "mime.h"
@@ -105,7 +106,7 @@ static void pgp_dearmor (FILE * in, FILE * out)
     return;
   }
 
-  if ((end = ftell (in) - safe_strlen (line)) < start) {
+  if ((end = ftell (in) - str_len (line)) < start) {
     debug_print (1, ("end < start???\n"));
     return;
   }