From 6787f82920a5e1c71c3fa7ea0b3f56d39a921607 Mon Sep 17 00:00:00 2001 From: Rocco Rutte Date: Thu, 11 Jun 2009 18:17:03 +0200 Subject: [PATCH] Use only latest mtime of new/cur for browser, not whole stat() info --- browser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser.c b/browser.c index 7c2ac458f..c05af0524 100644 --- a/browser.c +++ b/browser.c @@ -473,7 +473,7 @@ static int examine_mailboxes (MUTTMENU *menu, struct browser_state *state) if (stat (md, &st2) < 0) st2.st_mtime = 0; if (st2.st_mtime > s.st_mtime) - memcpy (&s, &st2, sizeof (struct stat)); + s.st_mtime = st2.st_mtime; } strfcpy (buffer, NONULL(tmp->path), sizeof (buffer)); -- 2.40.0