use safer p_clear when possible.
[apps/madmutt.git] / handler.c
index 137cc7d..553ff29 100644 (file)
--- a/handler.c
+++ b/handler.c
@@ -678,7 +678,7 @@ int text_enriched_handler (BODY * a, STATE * s)
   int tag_len = 0;
   char tag[LONG_STRING + 1];
 
-  memset (&stte, 0, sizeof (stte));
+  p_clear(&stte, 1);
   stte.s = s;
   stte.WrapMargin =
     ((s->flags & M_DISPLAY) ? (COLS - 4) : ((COLS - 4) <