use safer p_clear when possible.
[apps/madmutt.git] / parse.c
diff --git a/parse.c b/parse.c
index 1f7bac0..70379fa 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -805,7 +805,7 @@ time_t mutt_parse_date (const char *s, HEADER * h)
     t = scratch;
   SKIPWS (t);
 
-  memset (&tm, 0, sizeof (tm));
+  p_clear(&tm, 1);
 
   while ((t = strtok (t, " \t")) != NULL) {
     switch (count) {