X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-mx%2Fmbox.c;h=a1f1fcce52254b9e680f215243abf454598b890d;hp=9729c5ec29ace485b3fe800c87e56d869b2c2ab7;hb=690944eebbe058753a56dd10a455943507dc44e7;hpb=9946738a6a1c27a5602a14d1afe2eea2389732b2 diff --git a/lib-mx/mbox.c b/lib-mx/mbox.c index 9729c5e..a1f1fcc 100644 --- a/lib-mx/mbox.c +++ b/lib-mx/mbox.c @@ -11,7 +11,7 @@ #include -#include +#include #include #include "mutt.h" @@ -99,7 +99,8 @@ static int mbox_parse_mailbox (CONTEXT * ctx) /* precompute the local timezone to speed up calculation of the date received */ - tz = mutt_local_tz (0); + t = time(NULL); + tz = localtime(&t)->tm_gmtoff; loc = ftello (ctx->fp); while (fgets (buf, sizeof (buf), ctx->fp) != NULL) {