Fix dereferencing for the mutt_hcache_close calls. Use hcache_t* instead of evil...
[apps/madmutt.git] / lib-mx / mbox.c
index ae82b66..857ba86 100644 (file)
@@ -99,7 +99,10 @@ static int mbox_parse_mailbox (CONTEXT * ctx)
 
   /* precompute the local timezone to speed up calculation of the
      date received */
-  tz = mutt_local_tz (0);
+  {
+      time_t t = time(NULL);
+      tz = localtime(&t)->tm_gmtoff;
+  }
 
   loc = ftello (ctx->fp);
   while (fgets (buf, sizeof (buf), ctx->fp) != NULL) {