X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-mx%2Fmbox.c;h=a1f1fcce52254b9e680f215243abf454598b890d;hp=857ba8679bcffaceeea5f292141d384462fd9cde;hb=690944eebbe058753a56dd10a455943507dc44e7;hpb=33c5071fb15791eed076b6159c09d2790008d9a5 diff --git a/lib-mx/mbox.c b/lib-mx/mbox.c index 857ba86..a1f1fcc 100644 --- a/lib-mx/mbox.c +++ b/lib-mx/mbox.c @@ -99,10 +99,8 @@ static int mbox_parse_mailbox (CONTEXT * ctx) /* precompute the local timezone to speed up calculation of the date received */ - { - time_t t = time(NULL); - tz = localtime(&t)->tm_gmtoff; - } + t = time(NULL); + tz = localtime(&t)->tm_gmtoff; loc = ftello (ctx->fp); while (fgets (buf, sizeof (buf), ctx->fp) != NULL) {